/* Offline page styles */
:root {
    --primary-color: #00d4ff;
    --background-color: #1a1a2e;
    --text-color: #ffffff;
    --error-color: #ff4757;
    --success-color: #2ed573;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.offline-container {
    text-align: center;
    padding: 2rem;
    max-width: 90%;
    width: 400px;
}

.offline-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-button {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.retry-button:hover {
    background-color: #33deff;
    transform: translateY(-2px);
}

.back-button {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.back-button:hover {
    background-color: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --background-color: #ffffff;
        --text-color: #1a1a2e;
    }
    
    p {
        color: rgba(26, 26, 46, 0.8);
    }
}