/* Notification Popup Styles */
.notification-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 380px;
    animation: slideInUp 0.5s ease-out;
}

.notification-popup-content {
    background: linear-gradient(135deg, #06BBCC 0%, #0596AA 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.notification-popup-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.notification-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    animation: bellRing 2s ease-in-out infinite;
}

.notification-popup h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.notification-popup p {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    opacity: 0.95;
}

.notification-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.btn-notify-enable, .btn-notify-dismiss {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 10;
}

.btn-notify-enable {
    background: white;
    color: #06BBCC;
}

.btn-notify-enable:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-notify-dismiss {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-notify-dismiss:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes bellRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .notification-popup {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-popup-content {
        padding: 20px;
    }
    
    .notification-buttons {
        flex-direction: column;
    }
    
    .btn-notify-enable, .btn-notify-dismiss {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Modern Google Sign-In Button Styles
   ======================================== */

.google-signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #dadce0;
    border-radius: 24px;
    padding: 10px 20px;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.google-signin-btn:hover {
    background: #f8f9fa;
    border-color: #c6c9cc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.google-signin-btn:active {
    background: #f1f3f4;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

.google-signin-btn .google-icon {
    flex-shrink: 0;
}

.google-signin-btn span {
    line-height: 1;
}

/* Loading state */
.google-signin-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.google-signin-btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #dadce0;
    border-top-color: #4285F4;
    border-radius: 50%;
    animation: google-btn-spin 0.8s linear infinite;
    right: 15px;
}

@keyframes google-btn-spin {
    to { transform: rotate(360deg); }
}

/* Desktop Sign-In Button */
.google-signin-btn-desktop {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 28px;
    min-height: 48px;
}

.google-signin-btn-desktop:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Mobile Sign-In Button */
.google-signin-btn-mobile {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 20px;
    gap: 6px;
}

.google-signin-btn-mobile span {
    display: inline;
}

/* Very small screens - icon only */
@media (max-width: 360px) {
    .google-signin-btn-mobile {
        padding: 8px 12px;
        min-width: auto;
    }
    
    .google-signin-btn-mobile span {
        display: none;
    }
}

/* Tablet adjustments */
@media (min-width: 361px) and (max-width: 768px) {
    .google-signin-btn-mobile {
        padding: 8px 16px;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    .google-signin-btn {
        background: #ffffff;
        border-color: #dadce0;
        color: #3c4043;
    }
}

/* User avatar styles */
.mobile-avatar {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 2px solid #e8eaed;
}

.desktop-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 2px solid #e8eaed;
    transition: border-color 0.2s ease;
}

.desktop-avatar:hover {
    border-color: #4285F4;
}

.mobile-user-icon {
    font-size: 28px;
    color: #5f6368;
}

.desktop-user-icon {
    font-size: 36px;
    color: #5f6368;
    transition: color 0.2s ease;
}

.desktop-user-icon:hover {
    color: #4285F4;
}

/* Mobile header actions spacing */
.mobile-header-actions {
    gap: 8px;
}
