/* Custom Component Root - Container principale */
.custom-component-root {
    /* Variables */
    --cc-primary-color: #3b82f6;
    --cc-secondary-color: #64748b;
    --cc-background-color: #f8fafc;
    --cc-text-color: #1e293b;
    --cc-light-text: #64748b;
    --cc-border-color: #e2e8f0;
    --cc-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --cc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --cc-spacing-unit: 8px;
    
    min-height: 100vh;
    background-color: var(--cc-background-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--cc-text-color);
}

/* Maintenance Container */
.custom-component-root .cc-maintenance-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--cc-spacing-unit) * 3);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.custom-component-root .cc-maintenance-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: cc-float 20s infinite ease-in-out;
}

/* Content Wrapper */
.custom-component-root .cc-maintenance-content {
    background: white;
    border-radius: 16px;
    padding: calc(var(--cc-spacing-unit) * 6);
    box-shadow: var(--cc-shadow-lg);
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
}

/* Icon Wrapper */
.custom-component-root .cc-icon-wrapper {
    margin-bottom: calc(var(--cc-spacing-unit) * 4);
}

/* Gear Icon */
.custom-component-root .cc-gear-icon {
    width: 80px;
    height: 80px;
    color: var(--cc-primary-color);
    animation: cc-rotate 4s linear infinite;
}

/* Component Header */
.custom-component-root .cc-component-header {
    margin-bottom: calc(var(--cc-spacing-unit) * 4);
}

/* Title */
.custom-component-root .cc-component-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cc-text-color);
    margin-bottom: calc(var(--cc-spacing-unit) * 2);
}

/* Subtitle */
.custom-component-root .cc-subtitle {
    font-size: 1.25rem;
    color: var(--cc-light-text);
    margin: 0;
}

/* Message Box */
.custom-component-root .cc-message-box {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: calc(var(--cc-spacing-unit) * 3);
    margin-bottom: calc(var(--cc-spacing-unit) * 4);
}

/* Message Text */
.custom-component-root .cc-message {
    font-size: 1rem;
    color: var(--cc-text-color);
    line-height: 1.6;
    margin-bottom: calc(var(--cc-spacing-unit) * 2);
}

.custom-component-root .cc-time-info {
    font-weight: 600;
    color: var(--cc-primary-color);
    margin: 0;
}

/* Progress Wrapper */
.custom-component-root .cc-progress-wrapper {
    margin-bottom: calc(var(--cc-spacing-unit) * 4);
}

/* Progress Bar */
.custom-component-root .cc-progress-bar {
    height: 8px;
    background-color: #e2e8f0;
    margin-bottom: calc(var(--cc-spacing-unit) * 1);
}

.custom-component-root .cc-progress-bar .progress-bar {
    background-color: var(--cc-primary-color);
}

/* Progress Text */
.custom-component-root .cc-progress-text {
    font-size: 0.875rem;
    color: var(--cc-light-text);
    margin: 0;
}

/* Contact Section */
.custom-component-root .cc-contact-section {
    border-top: 1px solid var(--cc-border-color);
    padding-top: calc(var(--cc-spacing-unit) * 3);
}

/* Contact Title */
.custom-component-root .cc-contact-title {
    font-size: 0.875rem;
    color: var(--cc-light-text);
    margin-bottom: calc(var(--cc-spacing-unit) * 1);
}

/* Contact Info */
.custom-component-root .cc-contact-info {
    font-size: 1rem;
    margin: 0;
}

/* Contact Link */
.custom-component-root .cc-contact-link {
    color: var(--cc-primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.custom-component-root .cc-contact-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Animations */
@keyframes cc-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes cc-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(-10px);
    }
    75% {
        transform: translateY(-10px) translateX(20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-component-root .cc-maintenance-content {
        padding: calc(var(--cc-spacing-unit) * 4);
    }
    
    .custom-component-root .cc-component-title {
        font-size: 2rem;
    }
    
    .custom-component-root .cc-subtitle {
        font-size: 1.1rem;
    }
    
    .custom-component-root .cc-gear-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .custom-component-root .cc-maintenance-content {
        padding: calc(var(--cc-spacing-unit) * 3);
    }
    
    .custom-component-root .cc-component-title {
        font-size: 1.75rem;
    }
    
    .custom-component-root .cc-subtitle {
        font-size: 1rem;
    }
} 