@import url("https://fonts.cdnfonts.com/css/trajan-pro");

:root {
    --bg-text-shadow: 0 2px 4px rgb(13 0 77 / 8%), 0 3px 6px rgb(13 0 77 / 8%), 0 8px 16px rgb(13 0 77 / 8%);
    --bg-box-shadow: 0px 0px 20px 6px rgb(0 0 0 / 34%);
    /* Define the new color scheme */
    --primary-color: #d4af37; /* Gold for text and accents */
    --background-color: #ffffff; /* White background (updated to match screenshot) */
    --secondary-bg: #1a1a1a; /* Dark gray for subtle contrast */
    --text-color: #ffffff; /* White for secondary text */
    --input-bg: #000000; /* Black for input backgrounds (updated to match screenshot) */
    --secondary-text: #cccccc; /* Light gray for secondary text */
}

* {
    margin: 0;
    padding: 0;
    font-family: 'trajan-pro';
    /* text-shadow: var(--bg-text-shadow); */
}

body {
    height: 100vh;
    display: flex;
    background-color: var(--background-color); /* White */
    /* overflow: hidden; */
}

/* Carousel Section (Side Photo) */
.carousel_section {
    box-shadow: var(--bg-box-shadow);
}

/* Side photo CSS */
section {
    height: 100%;
    width: 50%;
}

.carousel-image {
    height: 100vh;
}

.carousel-inner::after {
    content: "";
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: rgba(212, 175, 55, 0.284); /* Gold overlay (derived from #d4af37) */
}

/* Login CSS */
.logo {
    height: 60px;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.logo .bluebirdlogo {
    height: 100%;
}

.logo p {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 30px;
    color: var(--primary-color); /* Gold */
    text-shadow: var(--bg-text-shadow);
}

.auth_container {
    height: 80%;
    margin: 50px;
}

#Log_in {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.role_btn {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.role_btn .btns {
    height: 40px;
    width: 200px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background-color: #000000; /* Black (inactive state) */
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color); /* White */
}

.role_btn .btns:hover {
    background: var(--primary-color); /* Gold */
    transition: ease-in-out;
    color: #000000; /* Black text on gold background */
}

.btns.active {
    background: var(--primary-color); /* Gold */
    color: #000000; /* Black text on gold background */
}

.authsection {
    width: 70%;
    margin: 10px;
    display: none;
    text-align: center;
    animation: screen_animation .4s;
}

/* Toggle display */
.user_login.active {
    display: block;
}

.employee_login.active {
    display: block;
}

.form-floating {
    margin: 15px 0;
}

.form-floating label {
    color: var(--primary-color); /* Gold for labels */
}

/* Ensure input background remains black in all states */
.form-floating input {
    background-color: var(--input-bg) !important; /* Black, override Bootstrap */
    color: var(--text-color); /* White */
    border: 1px solid var(--primary-color); /* Gold border */
}

/* Ensure the input background remains black when focused or filled */
.form-floating input:focus,
.form-floating input:not(:placeholder-shown) {
    background-color: var(--input-bg) !important; /* Black */
}

/* Placeholder styling */
.form-floating input::placeholder {
    color: var(--secondary-text); /* Light gray for placeholder text */
}

.auth_btn {
    padding: 15px 30px;
    border: unset;
    border-radius: 15px;
    background-color: #000000; /* Black */
    z-index: 1;
    position: relative;
    font-size: 17px;
    color: var(--text-color); /* White */
    transition: all 250ms;
    overflow: hidden;
}

.auth_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    z-index: -1;
    border-radius: 10px;
    background: var(--primary-color); /* Gold */
    transition: all 250ms;
}

.auth_btn:hover {
    color: #000000; /* Black text on gold background */
}

.auth_btn:hover::before {
    width: 100%;
}

.footer_line {
    margin: 20px 0;
}

.page_move_btn {
    color: var(--primary-color); /* Gold */
    cursor: pointer;
}

.page_move_btn:hover {
    color: #b8962e; /* Darker gold (same as home.css hover) */
}

/* Signup */
#sign_up {
    height: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
}

.user_signup {
    width: 70%;
    text-align: center;
    animation: screen_animation .4s;
}

/* Animation frame */
@keyframes screen_animation {
    0% {
        transform: translateX(50px);
    }
}

/* Responsive stuff */
@media(max-width: 30rem) {
    .carousel_section {
        display: none;
    }
    #auth_section {
        width: 100%;
    }
    .auth_container {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    #Log_in .role_btn .btns {
        width: 90px;
    }
}