/* Static Error Page Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.error-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
}

/* Static background */
.error-page-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, #ff006e 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #8338ec 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #3a86ff 0%, transparent 50%);
    opacity: 0.3;
}

.error-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 90vw;
    text-align: center;
}

.error-container {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Horizontal layout design */
.error-left {
    display: inline-block;
    width: 45%;
    vertical-align: top;
    text-align: right;
    padding-right: 3rem;
}

.error-right {
    display: inline-block;
    width: 45%;
    vertical-align: top;
    text-align: left;
    padding-left: 3rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.error-icon {
    margin-bottom: 2rem;
    position: relative;
}

.error-img {
    width: 200px;
    height: 200px;
    border-radius: 0;
    object-fit: cover;
    border: none;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.error-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.error-text {
    font-size: 1.5rem;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 2rem;
    text-transform: lowercase;
    letter-spacing: 0.1em;
}

.error-description {
    font-size: 1.1rem;
    color: #999;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 400px;
    font-weight: 300;
}

.validation-summary {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.5);
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #ff6b9d;
    text-align: left;
    backdrop-filter: blur(10px);
}

.maintenance-schedule {
    background: rgba(69, 183, 209, 0.1);
    border: 1px solid rgba(69, 183, 209, 0.3);
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
}

.schedule-title {
    font-size: 1rem;
    font-weight: 600;
    color: #45b7d1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.schedule-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.schedule-item {
    font-size: 0.9rem;
    color: #ccc;
}

.schedule-separator {
    color: #45b7d1;
    font-weight: bold;
}

.maintenance-status {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #ccc;
}

.maintenance-loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #45b7d1;
    border-radius: 50%;
    margin-right: 1rem;
}

.error-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.error-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: none;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

.error-actions .btn:hover {
    transform: none;
    box-shadow: none;
}

.btn-primary {
    background: linear-gradient(45deg, #ff006e, #8338ec);
    color: #fff;
    border-color: #ff006e;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff006e, #8338ec);
    border-color: #ff006e;
    color: #fff;
}

.btn-danger {
    background: linear-gradient(45deg, #ff006e, #ff6b6b);
    color: #fff;
    border-color: #ff006e;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #ff006e, #ff6b6b);
    border-color: #ff006e;
    color: #fff;
}

.btn-outline-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-secondary:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Error type specific styles */
.error-type-unauthorized .error-title {
    color: #ff6b6b;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

.error-type-duplicate .error-title {
    color: #4ecdc4;
    text-shadow: 0 0 30px rgba(78, 205, 196, 0.5);
}

.error-type-maintenance .error-title {
    color: #45b7d1;
    text-shadow: 0 0 30px rgba(69, 183, 209, 0.5);
}

/* Maintenance specific */
.maintenance-container::before {
    background: 
        radial-gradient(circle at 25% 25%, #45b7d1 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #4ecdc4 0%, transparent 50%);
}

/* Responsive */
@media (max-width: 768px) {
    .error-left,
    .error-right {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0;
        border: none;
    }
    
    .error-left {
        margin-bottom: 2rem;
    }
    
    .error-title {
        font-size: 2.5rem;
    }
    
    .error-text {
        font-size: 1.2rem;
    }
    
    .error-img {
        width: 150px;
        height: 150px;
    }
    
    .error-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .error-actions .btn {
        min-width: 250px;
    }
    
    .maintenance-status {
        justify-content: center;
    }
    
    .maintenance-schedule {
        text-align: center;
    }
    
    .schedule-details {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-title {
        font-size: 2rem;
    }
    
    .error-text {
        font-size: 1rem;
    }
    
    .error-img {
        width: 120px;
        height: 120px;
    }
    
    .error-actions .btn {
        min-width: 200px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .schedule-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .schedule-separator {
        display: none;
    }
}

/* Light mode */
@media (prefers-color-scheme: light) {
    body {
        background: #fff;
        color: #000;
    }
    
    .error-page-container::before {
        background: 
            radial-gradient(circle at 25% 25%, #ff006e 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, #8338ec 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, #3a86ff 0%, transparent 50%);
        opacity: 0.1;
    }
    
    .error-title {
        color: #000;
        text-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .error-text {
        color: #333;
    }
    
    .error-description {
        color: #666;
    }
    
    .maintenance-status {
        color: #666;
    }
    
    .maintenance-schedule {
        background: rgba(69, 183, 209, 0.1);
        border-color: rgba(69, 183, 209, 0.3);
    }
    
    .schedule-title {
        color: #0891b2;
    }
    
    .schedule-item {
        color: #333;
    }
    
    .schedule-separator {
        color: #0891b2;
    }
    
    .error-actions .btn {
        color: #fff;
    }
    
    .btn-outline-secondary {
        color: #000;
        border-color: rgba(0, 0, 0, 0.3);
    }
    
    .btn-outline-secondary:hover {
        background: transparent;
        border-color: rgba(0, 0, 0, 0.3);
        color: #000;
    }
}
