body{
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    display: flex;
    min-height: 100vh;
    margin: 0;
    flex-direction: column;
}

body.centred-content{
    display: flex;
    column-gap: 10px;
    row-gap: 10px;
    flex-wrap: wrap;
    /*text-align: center;*/
    align-items:center;
    justify-content:center;
    min-height:100vh!important;
    background-color: #a28773;
    background-image: linear-gradient(120deg, #a28773, #745e4e);
}

/* MAIN CONTENT */
.content {
    flex: 1;
    padding: 20px;
    transition: margin-left 0.3s ease-in-out;
    width: 100%;
    margin-left: 200px;
    background-color: white;
    overflow: hidden;
}

.centred-content .logo{
    max-width: 128px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.sidebar .logo{
    max-width: 60%;
    text-align: center;
    padding-bottom: 15px;
}
.form-container {
    background-color: #fff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: calc(100% - 200px);
    left: 200px;
    top: 0;
    z-index: 1000;
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.header-icons {
    display: flex;
    gap: 10px;
    padding-right: 10px;
}
.header-icons a {
    padding:0 6px;
}
/* SIDEBAR */
.wrapper {
    display: flex;
    flex: 1;
    margin-top: 50px;
}

.sidebar {
    width: 200px;
    background: linear-gradient(120deg, #a28773, #745e4e);
    color: white;
    padding: 15px;
    position: fixed;
    height: 100vh;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    left: 0;
    top: 0;
    z-index: 1;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.sidebar a:hover  {
    background: #7d5d49;
}
.sidebar a.active  {
    background: #5a4538;
}

.sidebar i {
    margin-right: 10px;
}

#toggleSidebar{
    visibility: hidden;
}
.form-group{
    margin-bottom: 10px;
}

#pagination {
    text-align: center;
    margin-top: 20px;
}

.page-link {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}

.page-link:hover {
    background-color: #0056b3;
}

.page-link.active {
    background-color: #0056b3;
}

.dataTable{
    font-size: 0.8em;
}
.dataTable .search_row input{
    width: 100%;
}

#platformChart, #pieChart{
    max-width: 300px;
    margin:0 auto;
}

/* FOOTER */
footer {
    color: #a28773;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    opacity: 0.9;
}
.centred-content footer{
    color: white;
}
.centred-content footer a{
    color: white;
}
tr.bg-highlight{
    background-color: #ffa332!important;
}
#startDateField, #endDateField{
    display: none;
}
/* Styles Responsifs */
@media only screen and (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }

    #toggleSidebar{
        visibility: visible
    }
    .sidebar {
        transform: translateX(-100%) ;
        top:50px;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .header {
        width: 100%;
        left: 0;
    }
    .content {
        margin-left: 0;
    }
}

@media only screen and (max-width: 480px) {
    form {
        max-width: 100%;
        padding: 10px;
    }

    .g-recaptcha {
        transform: scale(0.7);
    }
}
