/* General Page Background */
.login-page {
    background-image: url("/build/images/auth/bg.jpg");
    padding: 2rem;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card Container */
.container-card {
    width: 100%;
    max-width: 750px;
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Padding for the form */
.custom-padding {
    padding: 2.5rem;
}

/* Input Group Styling */
.input-group {
    display: flex;
    align-items: center;
    /* border: 2px solid rgba(4, 160, 198, 0.3); */
    padding: 0.6rem 1rem;
    border-radius: 50px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f9f9f9;
}

.input-group:focus-within {
    border-color: #04a0c6;
    box-shadow: 0 0 8px rgba(4, 160, 198, 0.3);
}

.icon-container {
    color: #04a0c6;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Input Field */
.form-control {
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
    flex: 1;
    padding-left: 0.5rem;
}

/* Invalid Input Styling */
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

/* Buttons */
.btn-primary {
    border-radius: 50px;
    padding: 0.5rem 2.5rem;
    background-color: #04a0c6;
    border: none;
    color: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
    font-weight: 600;
    text-align: center;
}

.btn-primary:hover {
    background-color: #037d96;
    box-shadow: 0 4px 10px rgba(3, 125, 150, 0.2);
}

/* Welcome Section */
.welcome-section {
    background-color: #04a0c6;
    color: white;
    padding: 2.5rem;
    text-align: center;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.welcome-section h4 {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.welcome-section p {
    font-size: 0.9rem;
}

/* Footer */
footerLogin {
    text-align: center;
    font-size: 0.875rem;
    color: gray;
    margin-top: 2rem;
}

/* Remember Me and Forgot Password */
.remember-me {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

input {
    background-color: transparent !important;
}

button {
    border-radius: 60px;
    padding: 0.5rem 2rem;
    background-color: #04a0c6;
    border: none;
    width: 200px;
}

.LogoIcon {
    width: 20px;
    height: 20px;
}

/* Cookie Popup Base */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 90%;
    max-width: 31rem;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

/* Message */
.cookie-popup__message h4 {
    font-size: 1.44rem; /* ~23px */
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.cookie-popup__message p {
    margin: 0;
}

/* Actions */
.cookie-popup__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}
.cookie-popup__actions .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
}
.cookie-popup__actions .btn--secondary {
    background-color: #b8bcc1;
    color: #fff;
}
.cookie-popup__actions .btn--primary {
    background-color: #04a0c6;
    color: #fff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .cookie-popup {
        bottom: 1rem;
        right: 50%;
        transform: translateX(50%);
        padding: 1rem;
    }
    .cookie-popup__actions {
        flex-direction: column;
    }
    .cookie-popup__actions .btn {
        width: 100%;
    }
}
