/* style.css */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Base Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6; /* A softer, light grey-green */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* --- Main Auth Wrapper --- */
.auth-wrapper {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

/* --- Left Side: Image --- */
.auth-image-side {
    background-image: url('../assets/images/login-bg.svg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.auth-image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top right, rgba(13, 110, 253, 0.6), rgba(0, 198, 203, 0.5));
    z-index: 1;
}

.auth-image-content {
    position: relative;
    z-index: 2;
}

/* --- Right Side: Form --- */
.auth-form-side {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-header .logo-icon {
    font-size: 3rem;
    color: #0d6efd;
}

/* --- Form Elements --- */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    font-size: 0.75rem;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.75rem 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.auth-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.form-check-label a {
    color: #0d6efd;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    .auth-wrapper {
        border-radius: 0;
    }
    .auth-form-side {
        padding: 2rem;
    }
}