/* Notification styles */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    z-index: 50;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.notification-info {
    background-color: #3b82f6;
}

.notification-success {
    background-color: #10b981;
}

.notification-warning {
    background-color: #f59e0b;
}

.notification-error {
    background-color: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Offline state styles */
.offline {
    position: relative;
}

.offline::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #ef4444;
    z-index: 50;
}

/* Install PWA button styles */
#install-pwa {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #3b82f6;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s;
}

#install-pwa:hover {
    background-color: #2563eb;
}

/* Loading indicator */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    animation: loading 1s infinite linear;
    transform-origin: 0 50%;
    z-index: 50;
}

@keyframes loading {
    0% {
        transform: scaleX(0);
    }
    50% {
        transform: scaleX(0.5);
    }
    100% {
        transform: scaleX(1);
    }
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
}

.toast {
    margin-top: 0.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    color: white;
    font-weight: 500;
    animation: slideUp 0.3s ease-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
} 