.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    width: 400px;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    z-index: 1001;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: none;
    border-bottom: 2px solid #eee;
    font-size: 1rem;
    cursor: pointer;
    color: #666;
}

.auth-tab.active {
    color: #00bf63;
    border-color: #00bf63;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.auth-social-btn.github:hover {
    background: #24292e;
    color: white;
}

.auth-social-btn.google:hover {
    background: #4285f4;
    color: white;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    position: relative;
}

.auth-input-group {
    margin-bottom: 1rem;
}

.auth-input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

.auth-submit {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: #00bf63;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-submit:hover {
    background: #ff6500;
}