* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #f2f2f2;
    font-family: 'Inter', sans-serif;
}



h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
}

/*************************************************************************************************************

HOME

**************************************************************************************************************/

.home-container {
    width: 100%;
    display: flex;
    height: 100vh;
    align-items: center;
}

.home-content {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.home-content > div {
    background-color: #0c303f;
    padding: 30px;
    text-align: center;
    border-radius: 12px;
}

.home-content h3 {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.home-content h3::after {
    content: "";
    background-color: #d4af37;
    width: 60px;
    height: 7px;
    display: block;
    margin: 0 auto;
    margin-top: 5px;
}

.home-content p {
    color: #fff;
}

.home-content a:link, .home-content a:visited {
    background-color: #4d7f94;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    margin-top: 20px;
}

.home-content a:hover {
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

/*************************************************************************************************************

LOGIN / REGISTER FORM

**************************************************************************************************************/

.login-container {
    width: 90%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    
}

.login-container form {
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.logo {
    width: 50%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.login-container input[type=text], .login-container input[type=password], .login-container input[type=email], .login-container input[type=tel] {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 30px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #b6b6b6;
}

.login-container button {
    background-color: #0c303f;
    padding: 15px 20px;
    margin-bottom: 10px;
    border: 1px solid #0c303f;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
}

.login-container button:hover {
    background-color: #1b5872;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.login-container h1 {
    margin: 20px 0px 20px 0px;
    text-align: center;
    text-transform: uppercase;
    color: #343333;
}

.login-container p {
    color: #4c4c4c;
    text-align: center;
}

.login-container a:link, .login-container a:visited {
    color: #d4af37;
    text-decoration: none;
}

.login-container a:hover {
    color: #81670f;
    transition: 0.3s ease-in-out;
}



/*************************************************************************************************************

ADMIN DASHBOARD - LEFT

**************************************************************************************************************/

.admin-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 5fr;
}

.admin-left {
    background-color: #0f313f;
    height: 100vh;
    position: sticky;
    top: 0;
    padding-top: 50px;
    overflow-y: hidden;
    z-index: 10;
    
}

.admin-avatar {
    width: 85px;
    height: 85px;
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}


.admin-left h3 {
    color: #fff;
    margin-bottom: 10px;
}

.welcome-back {
    text-align: center;
}

.welcome-back i {
    margin-right: 5px;
}

.welcome-back a:link, .welcome-back a:visited {
    background-color: #d4af37;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    padding: 10px 25px;
    font-weight: 700;
    margin-top: 20px;
}

.welcome-back a:hover {
    background-color: #ac8b20;
    transition: 0.3s ease-in-out;
}

.welcome-back p {
    color: #fff;
}

/*************************************************************************************************************

ADMIN DASHBOARD - LEFT - ADMIN ACTIONS

**************************************************************************************************************/

.admin-actions {
    margin-top: 50px;
}

.admin-actions ul {
    list-style-type: none;
}

.admin-actions i {
    margin-right: 5px;
}

.admin-actions a:link, .admin-actions a:visited {
    color: #fff;
    width: 100%;
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    border-top: 1px solid #245163;
    padding: 12px 20px;
}


.admin-actions a:hover {
    background-color: #245163;
    transition: 0.3s ease-in-out;
}

.admin-actions ul li:last-child {
    border-bottom: 1px solid #245163;
}

/*************************************************************************************************************

ADMIN MAIN

**************************************************************************************************************/

.admin-main {
    width: 90%;
    margin: 0 auto;
    padding: 50px 0px;
}

/*************************************************************************************************************

ADMIN BAR

**************************************************************************************************************/

.admin-bar {
    width: 100%;
    background-image: url('/static/images/admin-bg.png');
    background-position: center;
    background-size: cover;
    padding: 50px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.admin-bar h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.admin-bar h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 100;
}


/*************************************************************************************************************

ADMIN DASHBOARD - ANALYTICS

**************************************************************************************************************/

.analytics-container {
    width: 100%;
}

.analytics-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.analytics-content > div {
    background-color: #d4af37;
    padding: 50px 15px;
    border-radius: 12px;
    text-align: center;
}

.analytics-content > div:hover {
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

.analytics-content > div i {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 10px;
}

.analytics-content > div h3 {
    font-weight: 700;
    color: #fff;
    font-size: 1.5rem;
}

.analytics-content > div h4 {
    font-weight: 900;
    color: #fff;
    font-size: 1.6rem;
}




/*************************************************************************************************************

ADMIN DASHBOARD - USER LIST

**************************************************************************************************************/

.users-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.users-container > div {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(202, 202, 202, 0.2), 0 6px 20px 0 rgba(202, 202, 202, 0.2);
    border: 1px solid #e2e2e2;
    padding: 30px 0px;
    
}

.users-container > div h2 {
    color: #3f3f3f;
    font-size: 1.3rem;
    font-weight: 900;
    margin-left: 30px;
    margin-bottom: 20px;
}

.entry {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #e2e2e2;
    gap: 20px;
    align-items: center;
    padding: 15px 30px;
    
}

.entry:last-of-type {
    border: none;
}

.entry img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
}

.user-name {
    color: #d4af37;
    font-weight: 700;
    font-size: 1rem;
}

.user-email {
    color: #808080;
    font-size: 1rem;
}


/*************************************************************************************************************

ADMIN DASHBOARD - ADD USER

**************************************************************************************************************/

.generic-content {
    margin-top: 30px;
}

.generic-content input[type=text], .generic-content input[type=password], .generic-content input[type=file] {
    border: 1px solid #e2e2e2;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}

.generic-content label {
    color: #000;
}

/*************************************************************************************************************

ADMIN DASHBOARD - MANAGE USERS

**************************************************************************************************************/

.manage-users-content {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.manage-users-content > div {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(202, 202, 202, 0.2), 0 6px 20px 0 rgba(202, 202, 202, 0.2);
    border: 1px solid #e2e2e2;
    padding: 30px 0px;
    text-align: center;
}

.manage-users-content img {
    margin-bottom: 10px;
}

.manage-generic-container {
    margin-top: 30px;
}

/*************************************************************************************************************

TEACHER DASHBOARD

**************************************************************************************************************/

.top-teacher-container {
    width: 100%;
    background-color: #0f313f;
    padding: 15px 0px;
}

.top-teacher-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.teacher-avatar {
    width: 65px;
    height: 65px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

.top-teacher-content h3 {
    font-weight: 500;
    color: #fff;
}

.teacher-name, .gold {
    color: #d4af37;
}

.teacher-actions {
    width: 90%;
    margin: 0 auto;
    padding: 30px 15px;
    margin-top: 30px;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(202, 202, 202, 0.2), 0 6px 20px 0 rgba(202, 202, 202, 0.2);
}

.teacher-actions ul {
    list-style-type: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.teacher-actions h2 {
    color: #3f3f3f;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.teacher-actions a:link, .teacher-actions a:visited {
    background-color: #d4af37;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px;
    display: inline-block;
    border-radius: 12px;
}

.teacher-actions a:hover {
    background-color: #000;
    color: #fff;
    transition: 0.3s ease-in-out;
}

.teacher-actions i {
    margin-right: 5px;
}

.teacher-actions p {
    color: #585858;
}

.light {
    color: #a3a3a3;
}

.student-entry {
    margin-bottom: 30px;
}

.teacher-actions:last-of-type {
    margin-bottom: 50px;
}

/*************************************************************************************************************

FORMS / INPUTS

**************************************************************************************************************/

.teacher-actions input[type=text], .teacher-actions input[type=date], select, textarea, .teacher-actions input[type=tel], .teacher-actions input[type=email], .teacher-actions input[type=file] {
    border: 1px solid #e2e2e2;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}

.teacher-actions label {
    margin-bottom: 60px;
    color: #000;
}

.teacher-actions button {
    margin-bottom: 20px;
}

/*************************************************************************************************************

PARENT DASHBOARD

**************************************************************************************************************/

.child-entry {
    margin-bottom: 30px;
}

.child-entry a:link {
    margin-top: 10px;
}



/*************************************************************************************************************

MESSAGES

**************************************************************************************************************/

.message-container {
    width: 90%;
    margin: 0 auto;
}

.message-entry {
    padding: 30px 15px;
    margin-top: 30px;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    box-shadow: 0 4px 8px 0 rgba(202, 202, 202, 0.2), 0 6px 20px 0 rgba(202, 202, 202, 0.2);
}

.message-header {
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message-header img {
    width: 100px;
    height: auto;
    display: block;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.message-body {
    padding: 50px;
    line-height: 24px;
}

.ql-editor p {
    color: #000;
}

.message-entry a:link, .message-entry a:visited {
    background-color: #d4af37;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px;
    display: inline-block;
    border-radius: 12px;
}

.message-entry a:hover {
    background-color: #000;
    color: #fff;
    transition: 0.3s ease-in-out;
}

/*************************************************************************************************************

FOOTER

**************************************************************************************************************/

footer {
    width: 90%;
    margin: 0 auto;
    background-color: #0f313f;
    border-radius: 12px;
    text-align: center;
    padding: 50px 0px;
    margin-top: 50px;
    margin-bottom: 50px;
}



/*************************************************************************************************************

DESKTOP

**************************************************************************************************************/


@media (min-width: 600px) {

    .login-container {
        width: 40%;
    }

    .login-container form {
        width: 100%;
    }

    .login-container form {
        padding: 30px 100px;
    }

    .home-content {
        width: 50%;
        grid-template-columns: 1fr 1fr;
    }

    .top-teacher-content, .teacher-actions {
        width: 50%;
    }

    .message-container {
        width: 50%;
    }

    footer {
        width: 50%;
    }

    .socials {
        width: 50%;
    }

}