
/* Экран отсутствия интернета */
.offline-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

.offline-screen.active {
    display: flex;
}

.offline-content {
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.offline-image {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
    animation: bounce 2s infinite;
}

.offline-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.offline-message {
    font-size: 18px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

.offline-retry-btn {
    background: linear-gradient(135deg, #C41E3A, #B8182E);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.2);
}

.offline-retry-btn:hover {
    background: linear-gradient(135deg, #B8182E, #AD1425);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.offline-status {
    margin-top: 20px;
    font-size: 14px;
    color: #a0aec0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .offline-image {
        width: 150px;
    }

    .offline-title {
        font-size: 24px;
    }

    .offline-message {
        font-size: 16px;
    }

    .offline-retry-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
