/* Hide scrollbar */
html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f5f5f5;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    flex-shrink: 0;
    order: 1;
}

.auth-illustration {
    display: none;
}

.auth-illustration img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
}

.illustration-content {
    text-align: center;
    padding: 1rem 0;
    width: 100%;
}

.illustration-content i {
    font-size: 5rem;
    color: #4361ee;
    margin-bottom: 1rem;
    display: block;
}

.illustration-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #333;
}

.illustration-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.illustration-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.illustration-text p {
    margin: 0;
    opacity: 0.9;
}

.illustration-text {
    display: none;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: #4361ee;
}

.auth-logo i {
    font-size: 2.5rem;
}

.auth-logo h2 {
    font-size: 1.8rem;
    margin: 0;
}

.auth-header p {
    color: #666;
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.password-input input {
    padding-right: 45px;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
}

.toggle-password {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.toggle-password:hover {
    color: #4361ee;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 12px;
}

.form-check input[type="checkbox"] {
    cursor: pointer;
    accent-color: #4361ee;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    flex-shrink: 0;
}

.form-check label {
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    user-select: none;
}

.form-check a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
}

.form-check a:hover {
    text-decoration: underline;
}
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
}

.forgot-link {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #4361ee, #3a0ca3);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn {
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(to right, #4361ee, #3a0ca3);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-block {
    width: 100%;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: #999;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e1e5e9;
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #4361ee;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    color: #666;
}

.admin-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.75rem;
    color: #666;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    background: #e9ecef;
    border-color: #4361ee;
}

.file-preview {
    margin-top: 10px;
}

.file-preview img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .auth-container {
        padding: 2rem 1.5rem;
    }

    .auth-card {
        max-width: 450px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-container {
        padding: 1.5rem 1rem;
    }

    .auth-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}
        max-width: 100%;
    }

    .auth-illustration {
        display: none;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.5s ease-out;
}