/* Reset en basis styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.offline-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo sectie */
.logo-section {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4757;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Hoofdinhoud */
.main-content {
    padding: 40px 30px;
}

.icon-container {
    text-align: center;
    margin-bottom: 30px;
}

.offline-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
}

.message-box {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #ff6b6b;
}

.main-message {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.details, .solution {
    margin-bottom: 20px;
}

.details h3, .solution h3 {
    color: #34495e;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.details ul {
    list-style: none;
    padding-left: 0;
}

.details li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.details li:before {
    content: "•";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.solution p {
    color: #555;
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.contact-info {
    background: #e3f2fd;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #2196f3;
}

.contact-info h3 {
    color: #1976d2;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info p {
    color: #555;
}

.company-details {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(25, 118, 210, 0.2);
}

.company-details p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.company-details p:first-child {
    font-size: 1.1rem;
    color: #1976d2;
    margin-bottom: 8px;
}

.company-details a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.company-details a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.company-info {
    background: #fff3e0;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #ff9800;
    margin-top: 20px;
}

.company-info h3 {
    color: #e65100;
    margin-bottom: 10px;
    font-weight: 600;
}

.company-note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 25px 30px;
    border-top: 1px solid #e9ecef;
}

.timestamp {
    text-align: center;
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.refresh-info {
    text-align: center;
}

.refresh-info p {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.refresh-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-icon {
    font-size: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .offline-card {
        border-radius: 15px;
    }
    
    .logo-section {
        padding: 25px 20px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.7rem;
    }
    
    .offline-icon {
        font-size: 3rem;
    }
    
    .footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .main-content {
        padding: 25px 15px;
    }
    
    .message-box {
        padding: 20px;
    }
}
