/* search/css/ui/auth-modal.css */

/* Overlay (Hintergrund) - Erbt viel vom Search Modal */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Das eigentliche Fenster */
.auth-modal {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
}

.auth-modal-overlay.show .auth-modal {
    transform: translateY(0) scale(1);
}

/* Header */
.auth-header {
    margin-bottom: 30px;
}

.auth-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

/* Close Button */
.auth-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
}

.auth-close:hover {
    color: #fff;
}

/* Google Button */
.google-auth-btn {
    width: 100%;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 40px;
    /* Pill shape */
    padding: 12px 16px;
    font-family: 'Google Sans', 'Roboto', arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.google-auth-btn:hover {
    background: #f7f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.google-auth-btn:active {
    background: #eff1f1;
    transform: translateY(0);
}

.google-auth-btn svg {
    width: 20px;
    height: 20px;
}

/* Separator */
.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0 20px 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-separator span {
    padding: 0 10px;
}

/* Terms Text */
.auth-terms {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
    line-height: 1.5;
}

.auth-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.auth-message.success {
    background: rgba(77, 255, 77, 0.1);
    color: #4dff4d;
    border: 1px solid rgba(77, 255, 77, 0.2);
}