/* views/auth/login.css */

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.login-slider {
    display: none;
    width: 50%;
    position: relative;
    overflow: hidden;
    background-color: #f3f4f6;
}

@media (min-width: 768px) {
    .login-slider {
        display: block;
    }
}

.login-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.login-slider img.active {
    opacity: 1;
}

.login-slider img.inactive {
    opacity: 0;
}

.login-form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #ecfdf5;
}

@media (min-width: 768px) {
    .login-form-container {
        width: 50%;
    }
}

.login-form-wrapper {
    width: 100%;
    max-width: 28rem;
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.login-logo img {
    height: 4rem;
}

.login-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.login-header {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: all 0.15s ease-in-out;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-error {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #ef4444;
}

.form-checkbox {
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    border-color: #d1d5db;
}

.form-checkbox:checked {
    background-color: #10b981;
    border-color: #10b981;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.form-link {
    font-size: 0.875rem;
    color: #10b981;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.form-link:hover {
    color: #047857;
}

.btn-login {
    background-color: #10b981;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.15s ease-in-out;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    background-color: #059669;
}

.btn-login:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.5);
}

.register-prompt {
    text-align: center;
    margin-top: 1rem;
}

.register-link {
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: none;
}

.register-link:hover {
    color: #1f2937;
}

.copyright {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}
