:root {
    --primary-light-yellow: #FFEA00; /* Reverted to original muted steel blue */
    --secondary-pure-black: #000000; /* Creamy Beige */
    --accent-black: #161616; /* Reverted to original soft peach */
    --text-dark-grey: #cfc9c9; /* Dark Slate Grey */
    --text-muted-grey: #c4c0c0; /* Medium Grey */
    --border-subtle-grey: #776f6f; /* Light Grey for subtle borders */
    --hover-light: rgba(255, 255, 255, 0.1); /* Sidebar hover - not directly used here but good to keep consistent */
    --active-light: rgba(255, 255, 255, 0.15); /* Sidebar active - not directly used here */
    --background-white: #FFFFFF; /* Added for card backgrounds */
}

/* Custom Bootstrap Overrides / Utility Classes (copied from dashboard.css) */
.bg-primary-light-yellow { background-color: var(--primary-light-yellow) !important; }
.text-primary-light-yellow { color: var(--primary-light-yellow) !important; }
.bg-secondary-pure-black { background-color: var(--secondary-pure-black) !important; } /* not used in html: REMEMBER TO REMOVE THESE COMMENTS WHEN ASKING FOR NEW DESIGN */
.text-secondary-pure-black { color: var(--secondary-pure-black) !important; } /* not used in html */
.bg-accent-black { background-color: var(--accent-black) !important; } /* not used in html */
.text-accent-black { color: var(--accent-black) !important; }
.bg-text-dark-grey { background-color: var(--text-dark-grey) !important; } /* not used in html */
.text-text-dark-grey { color: var(--text-dark-grey) !important; }
.bg-text-muted-grey { background-color: var(--text-muted-grey) !important; } /* not used in html */
.text-text-muted-grey { color: var(--text-muted-grey) !important; }
.bg-border-subtle-grey { background-color: var(--border-subtle-grey) !important; } /* not used in html */
.border-border-subtle-grey { border-color: var(--border-subtle-grey) !important; } /* not used in html */

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background-color: var(--primary-light-yellow); /* Page background is now the original primary-soft-blue (#5C7D8A) */
    color: var(--text-dark-grey); /* Set default text color to #37474F */
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
* {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}
*:hover {
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.text-fixed{
    color: #FFEA00 !important;
}

.reset-container {
    max-width: 450px;
    width: 90%;
}

.reset-card {
    padding-top: 2.62rem !important;
    padding-bottom: 2.18rem !important;
    background-color: var(--secondary-pure-black);
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-subtle-grey);
    color: #222222 !important;
}
.form-control:focus {
    border-color: var(--primary-light-yellow);
    box-shadow: 0 0 0 0.25rem rgba(145, 193, 255, 0.314);
    outline: none;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-color: var(--border-subtle-grey);
    color: var(--text-muted-grey);
    background-color: var(--background-white);
    transition: all 0.2s ease-in-out;
}
.input-group .btn:hover {
    background-color: var(--secondary-pure-black);
    color: var(--primary-light-yellow);
    border-color: var(--primary-light-yellow);
}

.btn-primary-custom {
    background-color: #e10600 !important;
    border-color: #a02626 !important;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.btn-primary-custom:hover {
    background-color: #c50000; /* Slightly darker peach on hover */
    border-color: #a02626;
    box-shadow: 0 4px 12px rgba(225, 6, 0, 0.4);
}
.btn-primary-custom:active {
    background-color: #4C6A75 !important;
    border-color: #4C6A75 !important;
    color: white !important;
}
.btn-accent-custom {
    background-color: #e10600 !important;
    border-color: #e10600 !important;
    color: #fefff6;; /* Dark text on peach accent */
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.btn-accent-custom:hover {
    background-color: #f7a184; /* Slightly darker peach on hover */
    border-color: #f7a184;
}
.btn-accent-custom:active {
    background-color: #f0987b !important;
    border-color: #f0987b !important;
}

.email-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.email-input-wrapper .form-control {
    padding-right: 98px; 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#sendCodeBtn {
    position: absolute;
    right: 12px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center; 
    justify-content: center;
    border: none;
    background: none;
    color: #f0c33b !important;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}
#sendCodeBtn:disabled {
    color: var(--text-muted-grey) !important;
}

/* Override browser autofill background image and text color, preserve native focus styling */
input:-webkit-autofill {
    background-color: white !important; /* Force input's desired background color */
    transition: background-color 5000s ease-in-out 0s; /* Long transition to prevent color change animation */
}

.mb-cus {
    margin-bottom: -0.2rem;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); 
}

.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}
.custom-modal-content {
    background-color: var(--secondary-pure-black);
    max-width: 400px;
    width: 90%;
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
    padding: 2rem; 
    animation: fadeIn 0.3s ease-out; 
}
