/* Main Styles */
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --primary-light: #e7f1ff;
    --danger-color: #dc3545;
    --success-color: #198754;
    --warning-color: #ffc107;
    --dark-bg: #212529;
    --gradient-start: #0d6efd;
    --gradient-end: #0a58ca;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --border-color: rgba(255, 255, 255, 0.15);
    --card-bg: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    background-image: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(10, 88, 202, 0.05) 100%),
                      url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d6efd' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 100vh;
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.maintenance-wrapper {
    width: 100%;
}

/* Maintenance Card Styling */
.maintenance-card {
    background-color: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.maintenance-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 2rem;
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.logo-icon {
    font-size: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.maintenance-header h1 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.maintenance-body {
    padding: 2.5rem;
}

/* Status Badge */
.maintenance-badge {
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.maintenance-badge i {
    animation: rotating 2s linear infinite;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.maintenance-body h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Info Card */
.info-card {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    background-color: var(--primary-light);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.4rem;
}

.info-content h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-content p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Progress Tracker */
.status-section {
    margin-bottom: 2rem;
}

.status-section h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.progress-tracker {
    position: relative;
    display: flex;
    flex-direction: column;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #dee2e6;
    z-index: 0;
}

.progress-step {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
    z-index: 1;
}

.progress-step:last-child {
    padding-bottom: 0;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #dee2e6;
}

.progress-step.completed .step-icon {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.progress-step.active .step-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    animation: pulse 2s infinite;
}

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

.step-content h6 {
    margin-bottom: 0;
    font-weight: 600;
}

.step-time {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Countdown */
.remaining-time {
    background-color: #f8f9fa;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.remaining-time h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.countdown-container {
    margin-bottom: 0.5rem;
}

#countdown {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: monospace;
}

/* Footer */
.maintenance-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.administrator-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.admin-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

.admin-name {
    font-weight: 600;
    margin-bottom: 0;
}

.contact-info {
    text-align: right;
}

.current-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Additional Info */
.additional-info {
    color: var(--text-light);
}

.info-block {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
}

.info-block h5 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Update List */
.update-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

.update-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.update-list li:last-child {
    margin-bottom: 0;
}

.update-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-right: 0.75rem;
}

.update-badge.security {
    background-color: var(--danger-color);
    color: white;
}

.update-badge.feature {
    background-color: var(--primary-color);
    color: white;
}

.update-badge.driver {
    background-color: var(--success-color);
    color: white;
}

/* Accordion */
.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: rgba(255, 255, 255, 0.15);
    --bs-accordion-btn-color: var(--text-light);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: rgba(255, 255, 255, 0.05);
    --bs-accordion-active-color: var(--text-light);
    --bs-accordion-btn-focus-border-color: rgba(255, 255, 255, 0.25);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1);
    --bs-accordion-body-color: var(--text-light);
}

.accordion-button::after {
    filter: invert(1);
}

/* Responsive */
@media (max-width: 576px) {
    .maintenance-body {
        padding: 1.5rem;
    }
    
    .maintenance-footer {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-info {
        text-align: left;
        width: 100%;
    }
    
    #countdown {
        font-size: 2rem;
    }
    
    .maintenance-header h1 {
        font-size: 1.5rem;
    }
    
    .maintenance-body h2 {
        font-size: 1.5rem;
    }
}