/* PWA Specific Styles */
.offline-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 20px;
}

.offline-container {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 100%;
}

.offline-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.offline-container h1 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.offline-container p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-retry {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-retry:hover {
    background: #45a049;
}

/* Install button */
#install-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Connection status */
.connection-status {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 999;
}

.status-online {
    background: #4CAF50;
    color: white;
}

.status-offline {
    background: #f44336;
    color: white;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .offline-container {
        padding: 20px;
    }
    
    .offline-logo {
        max-width: 100px;
    }
    
    .offline-container h1 {
        font-size: 20px;
    }
    
    .btn-retry {
        padding: 10px 25px;
        font-size: 14px;
    }
}