/* Login Page - Minimal Styles */
.auth-page {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2.5rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-logo-img {
    height: 50px;
    width: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 0.9rem;
}

/* Social Login */
.social-login {
    margin-bottom: 1.25rem;
}

.google-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #222;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.google-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: #999;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #222;
    font-size: 0.95rem;
}

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

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
}

.password-toggle:hover {
    color: #c9973f;
}

/* Form Options */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #666;
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #c9973f;
}

.forgot-link {
    color: #c9973f;
    text-decoration: none;
    font-weight: 500;
}

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

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 4px;
    padding: 1.5rem;
    max-width: 380px;
    width: 90%;
    border: 1px solid #e0e0e0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.modal-header h3 {
    color: #222;
    font-size: 1.1rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: #222;
}

.modal-body p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

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

.modal-message {
    padding: 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    display: none;
}

.modal-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: block;
}

.modal-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: block;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #c9973f;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #b8862e;
}

/* Error Message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    display: none;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.85rem;
}

.auth-footer a {
    color: #c9973f;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.back-link:hover {
    color: #c9973f;
}

.back-link svg {
    width: 14px;
    height: 14px;
}

/* Mobile */
@media (max-width: 640px) {
    .auth-page {
        padding: 1rem;
    }
    .auth-card {
        padding: 1.5rem;
    }
    .auth-header h1 {
        font-size: 1.25rem;
    }
    .form-options {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

/* Hide particle bloat */
.particles, .particle {
    display: none !important;
}
