/* ===================================
   Professional Google Authentication Styles
   =================================== */

/* Google Sign-In Modal */
.google-signin-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.google-signin-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.google-signin-modal__content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.google-signin-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.google-signin-modal__close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.google-signin-modal__close svg {
    width: 16px;
    height: 16px;
    color: #333;
}

.google-signin-modal__content h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

#googleButtonContainer {
    display: flex;
    justify-content: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Google Button Styling Enhancement */
.google-signin-modal__content #googleButtonContainer > div {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px !important;
}

/* Responsive */
@media (max-width: 480px) {
    .google-signin-modal__content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .google-signin-modal__content h3 {
        font-size: 1.25rem;
    }
}
