:root {
    --bs-body-bg: #e2eefd;
    --bs-card-bg: #fff;
    --spacer: 1rem;
    --bs-card-spacer-y: 0;
    --bs-card-spacer-x: 0;

}


.btn-login {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
}


footer {
    background-color: var(--bs-body-bg) !important;
}

.desktop-svg {
    display: block;
}
.mobile-svg {
    display: none;
    width: 100%; /* Ensures the mobile SVG scales correctly */
    height: auto;
}
/* HEADER STRUCTURE */
.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 114px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

/* HEADER BACKGROUND */
.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 114px;
    
}

/* HEADER CONTENT (Foreground) */
.header-content {
    display: flex;
    align-items: center;
    height: 114px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* LOGO */
.logo-container {
    margin-left: 30px;
}

.logo {
    position: absolute; /* Allows top/left to take effect */
    top: 32px;
    left: 33px;
    width: 186px;
    height: 50px;
    background: transparent;
}

/* SUBSCRIPTION TEXT */
.subscription-text {
    position: absolute;
    top: 45px;
    left: 288px;
    width: 300px;
    height: 24px;
    margin-left: 60px; /* Spacing between logo and text */
}

.user-home {
    position: absolute;
    top: 45px;
    left: 1200px;
    width: 500px;
    height: 24px;
    margin-left: 60px; /* Spacing between logo and text */
}

.container {
    top: 0px;
    left: 0px;
    width: auto;
    height: auto;
    /* UI Properties */
    background: #e2eefd 0% 0% no-repeat padding-box;
    opacity: 1;
}

/* Left Column - Image and SVG texts */
.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Vertically center elements */
    align-items: center;      /* Horizontally center elements */
    text-align: center;       /* Center text inside each element */
 
}

/* Ensuring the image fits well in the left column */
.left-column img {
    max-width: 100%;
    height: auto;
}

/* Right Column - Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    /* box-shadow: 0px 5px 18px #0000000B; */
    border-radius: 13px;
    
    background-color: white !important;
}

/* Header inside the form */
h2.text-center {
    font-size: 32px;
    color: #434080;
    font-weight: 600;
    text-align: center;
}

/* Account Login text */
.text-center svg#Account_Login {
    display: block;
    margin: 10px 0;
    font-size: 27px;
    color: #180c93;
    font-weight: 500;
    letter-spacing: -0.03em;
}

/* Sub-text (Login to your account) */
.text-center svg#Login_to_your_account_now_to_view_and_manage_your_orders {
    display: block;
    margin: 10px 0;
    font-size: 16px;
    color: #180c93;
    font-weight: 300;
    letter-spacing: -0.03em;
}


/* Submit Button */
button[type="submit"] {
    width: 100%;
    background-color: #180d93;
    color: #fff;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Submit Button Hover Effect */
button[type="submit"]:hover {
    background-color: #0e0b73;
}

/* SVG-based Login Button (inside form) */
#login-btn {
    width: 467px;
    height: 63px;
    border-radius: 9px;
    background-color: #180d93;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#login-btn-txt {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    position: absolute;
    text-align: center;
}

/* Make the input fields transparent so the SVG is visible */
.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #dbdbdb;
    padding: 0;
    padding-left: 0;
    font-size: 16px;
    color: #333;
}

/* Position the SVG label inside the input field */
#email-input, #password-input {
    position: relative;
    width: 100%;
}

#email-input svg, #password-input svg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;  /* Prevent SVG from interfering with input interaction */
    transition: all 0.3s ease;
}

/* Adjust SVG position when the input is focused or filled */
#email-input .form-control:focus + svg,
#password-input .form-control:focus + svg {
    top: -10px;
    font-size: 12px; /* Shrink the font size */
    color: #180d93; /* Change the color when focused */
}

/* When the input is filled, move the label */
#email-input .form-control:valid + svg,
#password-input .form-control:valid + svg {
    top: -10px;
    font-size: 12px;
    color: #180d93;
}

/* Shared styles for alignment */
#account-question, #signup-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px; /* Ensure enough height for both text blocks */
    line-height: normal; /* Prevent height distortion from line-height */
    margin: 0; /* Remove any default spacing issues */
    padding: 0;
}

#signup-link a {
    display: inline-block;
    height: 100%;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}

/* Button Block: Ensures buttons are centered */
.mt-3.d-flex {
    display: flex;
    justify-content: center; /* Center buttons within the container */
    gap: 10px; /* Adds space between buttons */
}

/* Button styling for Google and Facebook */
#google-login-btn, #facebook-login-btn {
    width: 35%; /* Each button takes up 48% of the available width */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Google-specific button styling */
#google-login-btn {
    background-color: #db4437;
    color: white;
}

/* Facebook-specific button styling */
#facebook-login-btn {
    background-color: #1877f2;
    color: white;
}

#google-login-btn svg, #facebook-login-btn svg {
    margin-right: 8px; /* Adjusts spacing between icon and text */
}

.signup-card {
    --bs-card-bg: #fff !important;
}

#right-card {
    background-color: #0d085a;
}

.card-body {
    padding: var(--spacer) * 0;
}
.card-85 {
    max-width: 85%;
}

.card-15 {
    max-width: 15%;
}

.table-expired {
    color: #AFAFAF !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
}

.table-current {
    color: green !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
}

.table-upcoming {
    color: #0d085a !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    background-color: #f4f7ff !important;
}
/* For devices with a width of 768px or less (tablets and small screens) */
@media (max-width: 768px) {
    :root {
        --bs-body-bg: #F4F7FF;
    }
    .header {
        height: auto;
        flex-direction: column;
    }
    .header-background {
        height: 90px;
    }
    .header-content {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .logo {
        top: 19px;
        left: 17px;
        width: 149px;
        height: 40px;
    }
    .line-header {
        position: absolute;
        top: 17px;
        left: 188px;
        width: 0px;
        height: 49px;
        border: 1px solid #0071B1;
        opacity: 1;
    }
    .subscription-text {
        top: 33px;
        left: 150px;
        width: 228px;
        height: 17px;
    }

    .user-home {
        top: 33px;
        left: 500px;
        width: 228x;
        height: 17px;
    }
    .container {
        top: -1px;
        left: 0px;
        width: auto;
        height: auto;
        padding: 10px;
    }
    .left-column {
        padding: 20px;
        text-align: center;
    }
    .login-form {
        width: 100%;
        padding: 20px;
    }
    h2.text-center {
        top: 118px;
        height: 30px;
    }
    button[type="submit"] {
        font-size: 16px;
        padding: 12px;
    }
    #login-btn {
        width: 100%;
        height: auto;
        padding: 10px;
    }
    #login-btn-txt {
        font-size: 14px;
    }
    .form-control {
        font-size: 14px;
    }
    #google-login-btn, #facebook-login-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    #google-login-btn svg, #facebook-login-btn svg {
        margin-right: 5px;
    }
    
    /* Position the SVG label inside the input field */
    #email-input, #password-input {
        position: relative;
        width: 100%;
    }

    #email-input svg, #password-input svg {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        pointer-events: none;  /* Prevent SVG from interfering with input interaction */
        transition: all 0.3s ease;
    }

    /* Adjust SVG position when the input is focused or filled */
    #email-input .form-control:focus + svg,
    #password-input .form-control:focus + svg {
        top: -10px;
        font-size: 12px; /* Shrink the font size */
        color: #180d93; /* Change the color when focused */
    }

    /* When the input is filled, move the label */
    #email-input .form-control:valid + svg,
    #password-input .form-control:valid + svg {
        top: -10px;
        font-size: 12px;
        color: #180d93;
    }
    /* Right card (overlay) */
    #right-card {
        position: absolute; /* Keep it fixed on the right */
        right: 0;
        top: 35%;
        transform: translateY(-50%);
        width: 300px;        
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        display: none;
        transition: all 0.3s ease;
        z-index: 999; /* Ensure it's on top */
    }

    /* Background blur effect */
    .blur-background {
        position: fixed; /* Cover full screen */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.2); /* Slight dark overlay */
        backdrop-filter: blur(5px); /* Apply blur */
        display: none; /* Initially hidden */
        z-index: 500; /* Below #right-card */
    }

    /* When active, show blur */
    #right-card.active {
        display: block;
    }

    .blur-background.active {
        display: block;
    }
    
    .card-15 {
        border-radius: 15px;
    }
    
    .card-header {
        background-color: #333;
    }

    #right-card .btn-danger {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    .table-expired {
        color: #AFAFAF !important;
        font-size: 12px !important;
        font-family: 'Inter', sans-serif !important;
    }
    
    .table-current {
        color: green !important;
        font-size: 12px !important;
        font-family: 'Inter', sans-serif !important;
        
    }
    
    .table-upcoming {
        color: #0d085a !important;
        font-size: 12px !important;
        font-family: 'Inter', sans-serif !important;
        background-color: #f4f7ff !important;
    }

    .desktop-svg {
        display: none;
    }
    .mobile-svg {
        display: block;
        width: 100%; /* Ensures the mobile SVG scales correctly */
        height: auto;
    }
    .open-btn {
        position: absolute;
        right: 10px; /* Adjust as needed */
    }
    
    .open-btn svg {
        width: 30px;
        height: 30px;
        fill: none;
        stroke: #0D085A; /* Dark blue color */
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
    }  
}
