/* Professional Maintenance Mode Styles */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 20px;
}

.maintenance-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    padding: 0;
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Header Section */
.maintenance-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.maintenance-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.maintenance-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.maintenance-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.maintenance-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Content Section */
.maintenance-content {
    padding: 2rem;
}

.maintenance-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.maintenance-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.info-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Progress Section */
.maintenance-progress {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-icon {
    flex-shrink: 0;
}

.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #f59e0b;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-text h4 {
    color: #92400e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.progress-text p {
    color: #a16207;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Section */
.maintenance-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 2rem;
}

.admin-access {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #3b82f6;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-icon {
    background: #3b82f6;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.admin-content h5 {
    color: #1e40af;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.admin-content p {
    color: #3730a3;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.admin-link {
    background: #3b82f6;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: #2563eb;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Copyright Section */
.copyright-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.copyright-text {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.company-info {
    margin-top: 0.5rem;
}

.company-name {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .maintenance-container {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .maintenance-header {
        padding: 2rem 1.5rem;
    }
    
    .maintenance-title {
        font-size: 1.8rem;
    }
    
    .maintenance-content {
        padding: 1.5rem;
    }
    
    .maintenance-footer {
        padding: 1.5rem;
    }
    
    .maintenance-info-card,
    .maintenance-progress,
    .admin-access {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon,
    .admin-icon {
        margin: 0 auto;
    }
}

/* Animation Enhancements */
.maintenance-info-card {
    animation: fadeInUp 0.6s ease-out;
}

.maintenance-info-card:nth-child(1) { animation-delay: 0.1s; }
.maintenance-info-card:nth-child(2) { animation-delay: 0.2s; }
.maintenance-info-card:nth-child(3) { animation-delay: 0.3s; }
.maintenance-info-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.maintenance-header {
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}