/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.auth-content {
    position: relative;
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem 3rem 3rem 3rem;
    box-sizing: border-box;
    z-index: 10001;
    border-radius: 0;
}

.auth-content::-webkit-scrollbar {
    display: none;
}

.auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000000;
    padding: 0.5rem;
    line-height: 1;
    z-index: 10002;
    transition: opacity 0.3s ease;
}

.auth-close:hover {
    opacity: 0.7;
}

/* Tabs */
.auth-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #000000;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: 'Arial', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.auth-tab.active {
    border-bottom-color: #000000;
}

.auth-tab:hover {
    opacity: 0.7;
}

/* Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-title {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    margin: 0 0 2rem 0;
    text-align: center;
}

/* Social Auth Buttons */
.social-auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    width: 100%;
    padding: 1rem;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
    font-family: 'Arial', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

.social-btn:hover {
    background: #000000;
    color: #ffffff;
}

.social-btn i {
    font-size: 1.25rem;
}

.google-btn {
    /* Google brand colors if needed */
}

.apple-btn {
    /* Apple brand colors if needed */
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000000;
}

.auth-divider span {
    padding: 0 1rem;
    font-family: 'Arial', sans-serif;
    font-size: 0.75rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Arial', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #000000;
    background: #ffffff;
    color: #000000;
    font-family: 'Arial', sans-serif;
    font-size: 0.875rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #666666;
}

.form-error {
    color: #ff0000;
    font-family: 'Arial', sans-serif;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    min-height: 1.5rem;
    display: none;
}

.form-error.show {
    display: block;
}

.auth-submit-btn {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    width: 100%;
    padding: 1rem;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    font-family: 'Arial', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.auth-submit-btn:hover {
    background: #ffffff;
    color: #000000;
}

.auth-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-modal {
        padding: 1rem;
    }
    
    .auth-content {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        max-height: 90vh;
        width: 98%;
    }
    
    .auth-title {
        font-size: 1.25rem;
    }
    
    .social-btn {
        padding: 0.875rem;
        font-size: 0.75rem;
    }
}

