/* Error User-Friendly Page Styles - Dark Mode Design */

.error-user-friendly-wrapper-body {
    margin: 0;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.error-wrapper {
    max-width: 700px;
    width: 100%;
}

.error-container {
    text-align: center;
    background: var(--color-background-secondary);
    border-radius: 20px;
    padding: 0;
    box-shadow: 
        0 20px 60px var(--color-black-rgba-60),
        0 0 0 1px var(--color-border);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}

.error-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-error-red) 0%, 
        var(--color-error-red-dark) 25%, 
        var(--color-error-red-darker) 50%, 
        var(--color-error-red-dark) 75%, 
        var(--color-error-red) 100%);
}

.error-content {
    padding: 60px 50px;
}

.error-icon {
    font-size: var(--font-size-55rem);
    font-family: var(--font-family-base);
    margin-bottom: 30px;
    animation: none;
    filter: drop-shadow(0 4px 8px var(--color-error-red-f85149-rgba-40));
    transform: scale(1);
    opacity: 1;
}

.error-headline {
    color: var(--color-error-red);
    font-size: var(--font-size-25rem);
    font-family: var(--font-family-base);
    margin-bottom: 30px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
}

/* Keine Hover-Effekte für Headlines auf Error-Pages */
.error-headline:hover,
.error-headline:hover *,
.error-headline *:hover,
h1.error-headline:hover,
h1.error-headline:hover *,
h1.error-headline *:hover {
    /* KOMPLETT KEINE HOVER-EFFEKTE */
    animation: none !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
    background: none !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

.error-headline:hover::after,
.error-headline:hover::before,
h1.error-headline:hover::after,
h1.error-headline:hover::before {
    /* KEINE PSEUDO-ELEMENTE BEIM HOVER */
    display: none !important;
    content: none !important;
}

.error-main-message {
    margin-bottom: 25px;
}

.error-main-message p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-115rem);
    font-family: var(--font-family-base);
    line-height: var(--line-height-relaxed);
    margin: 0;
    font-weight: var(--font-weight-medium);
}

.error-info-box {
    background: var(--color-error-red-f85149-rgba-15);
    border: 1px solid var(--color-error-red-f85149-rgba-30);
    border-radius: 16px;
    padding: 28px;
    margin: 30px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.error-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--color-error-red) 0%, 
        var(--color-error-red-dark) 50%, 
        var(--color-error-red-darker) 100%);
}

.error-info-box p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-105rem);
    font-family: var(--font-family-base);
    line-height: var(--line-height-relaxed);
}

.error-action-box {
    background: rgba(88, 166, 255, 0.15);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 16px;
    padding: 28px;
    margin: 25px 0 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.error-action-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--color-primary-blue) 0%, 
        var(--color-primary-blue-dark) 50%, 
        var(--color-info-dark) 100%);
}

.error-action-box p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-105rem);
    font-family: var(--font-family-base);
    line-height: var(--line-height-relaxed);
}

@media only screen and (width <= 600px) {
    .error-user-friendly-wrapper-body {
        padding: 20px 15px;
    }
    
    .error-content {
        padding: 50px 30px;
    }
    
    .error-headline {
        font-size: var(--font-size-2rem);
        font-family: var(--font-family-base);
        margin-bottom: 25px;
    }
    
    .error-icon {
        font-size: var(--font-size-45rem);
        font-family: var(--font-family-base);
        margin-bottom: 25px;
    }
    
    .error-main-message p {
        font-size: var(--font-size-105rem);
        font-family: var(--font-family-base);
    }
    
    .error-info-box,
    .error-action-box {
        padding: 24px;
        margin: 25px 0;
    }
    
    .error-info-box p,
    .error-action-box p {
        font-size: var(--font-size-1rem);
        font-family: var(--font-family-base);
    }
}

