/* Authentication Container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.auth-wrapper {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group input {
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #666;
    border-radius: 0;
    font-size: 14px;
    transition: all 0.3s ease;
    background: transparent;
    color: #fff;
    width: 100%;
}

.password-wrapper input {
    padding-right: 36px;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: #FFD700;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:autofill,
.form-group input:autofill:hover,
.form-group input:autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    color: #fff !important;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #FFD700;
}

.remember-me label {
    cursor: pointer;
    color: #ccc;
    margin: 0;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 0;
    bottom: 2px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    opacity: 0.6;
}

.password-toggle:hover {
    opacity: 1;
}

.password-toggle:focus {
    outline: none;
    opacity: 1;
}

.eye-icon {
    width: 20px;
    height: 20px;
    color: #ccc;
    user-select: none;
}

.password-toggle.active .eye-icon {
    color: #FFD700;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #FFD700;
    color: #0a0a0a;
    border: 2px solid #FFD700;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: #FFC700;
    border-color: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Error Message */
.error-message {
    margin-top: 16px;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #e74c3c;
    font-size: 13px;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 30px 20px;
    }

    .auth-header h1 {
        font-size: 28px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
