/*
 * User-area UI normalization.
 * Keep user forms aligned with the main site form-control standard.
 */
:root {
    --ct-user-primary: #740083;
    --ct-user-primary-dark: #5c0068;
    --ct-user-border: #d9dbde;
    --ct-user-border-focus: #740083;
    --ct-user-focus-ring: rgb(116 0 131 / 43%);
    --ct-user-text: #111827;
    --ct-user-muted: #4b5563;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: var(--ct-user-text);
}

body .tools_main_container {
    gap: 20px;
}

body .tools_main_container,
body .main_app_wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

body label {
    display: block;
    margin: 0 0 8px;
    color: var(--ct-user-text);
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

body .form-group {
    margin-bottom: 16px;
}

body input.form-control,
body .form-control,
body .change-password-form input,
body .update-profile-form input,
body .list input,
body .search-btn,
body .display,
body select {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px !important;
    border: 1px solid var(--ct-user-border) !important;
    border-radius: 5px !important;
    background-color: #fff;
    color: var(--ct-user-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 22px;
    box-shadow: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

body input.form-control:focus,
body .form-control:focus,
body .change-password-form input:focus,
body .update-profile-form input:focus,
body .list input:focus,
body .search-btn:focus,
body .display:focus,
body select:focus {
    border-color: var(--ct-user-border-focus) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px var(--ct-user-focus-ring) !important;
}

body input.form-control::placeholder,
body .form-control::placeholder,
body .change-password-form input::placeholder,
body .update-profile-form input::placeholder,
body .list input::placeholder,
body .search-btn::placeholder {
    color: #8a93a3;
}

body .btn-info,
body .btn-submit,
body .change-password-form button,
body .verify_btn {
    min-height: 42px;
    border-radius: 5px !important;
    font-family: inherit;
    font-weight: 700;
}

body .login_gap.tools_part,
body .teacher_tool_area,
body .user-profiles,
body .change-password-container,
body .update-profile-container {
    border-radius: 8px !important;
}

body .user_singup,
body .forget_password,
body .change-password-form,
body .update-profile-form {
    row-gap: 16px;
}

body .user_singup > .col-xs-12,
body .forget_password .col-xs-12 {
    margin-left: 0 !important;
}

body #verification_div {
    border-radius: 8px !important;
}

body #verification_div input {
    margin-bottom: 16px !important;
}

body .list {
    border: 1px solid var(--ct-user-border) !important;
    border-radius: 5px !important;
}

body .list li {
    border-radius: 5px;
}

body .list li:hover {
    background-color: #f7eff9 !important;
    color: var(--ct-user-primary) !important;
}

body .resend-mail {
    margin: 0 0 12px !important;
}

body .tabs {
    gap: 12px !important;
}

body .profile-details p,
body .login_style p,
body .tools_part p {
    color: var(--ct-user-muted);
}

@media (max-width: 768px) {
    body .tools_main_container {
        gap: 14px;
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }

    body .teacher_tool_area,
    body .user-profiles,
    body .change-password-container,
    body .update-profile-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
