/**
 * Modern 404 Error Page Styles
 */

.hvn-theme-error-404-modern {
    position: relative;
    background: var(--hvn-theme-color-white);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hvn-theme-error-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(108, 96, 254, 0.05) 0%, rgba(108, 96, 254, 0.02) 100%);
    border-radius: 50%;
    z-index: 0;
}

.hvn-theme-error-content {
    position: relative;
    z-index: 1;
}

.hvn-theme-error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--hvn-theme-brand-primary) 0%, var(--hvn-theme-brand-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.hvn-theme-error-illustration {
    margin-bottom: 30px;
}

.hvn-theme-error-illustration svg {
    filter: drop-shadow(0 4px 12px rgba(108, 96, 254, 0.2));
}

.hvn-theme-error-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--hvn-theme-text-primary);
}

.hvn-theme-error-message {
    font-size: 1.125rem;
    color: var(--hvn-theme-text-secondary);
    max-width: 500px;
    margin: 0 auto 30px;
}

.hvn-theme-error-search {
    max-width: 500px;
    margin: 0 auto 30px;
}

.hvn-theme-error-search h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--hvn-theme-text-secondary);
    font-weight: 500;
}

.hvn-theme-error-search .search-form {
    display: flex;
    gap: 10px;
}

.hvn-theme-error-search .search-field {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--hvn-theme-border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.hvn-theme-error-search .search-field:focus {
    border-color: var(--hvn-theme-brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 96, 254, 0.1);
}

.hvn-theme-error-search .search-submit {
    padding: 0 24px;
    background: var(--hvn-theme-brand-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hvn-theme-error-search .search-submit:hover {
    background: var(--hvn-theme-brand-primary-dark);
    transform: translateY(-2px);
}

.hvn-theme-error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hvn-theme-error-actions .hvn-theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hvn-theme-error-suggestions {
    margin-bottom: 30px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hvn-theme-error-suggestions h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--hvn-theme-text-secondary);
    font-weight: 500;
    text-align: center;
}

.hvn-theme-error-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.error-link-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--hvn-theme-color-gray-100);
    border-radius: 12px;
    text-decoration: none;
    color: var(--hvn-theme-text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.error-link-item:hover {
    background: var(--hvn-theme-brand-primary);
    color: white;
    transform: translateX(5px);
}

.hvn-theme-error-recent {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.hvn-theme-error-recent h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--hvn-theme-text-secondary);
    font-weight: 500;
    text-align: center;
}

.hvn-theme-error-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hvn-theme-error-recent-list li {
    border-bottom: 1px solid var(--hvn-theme-border-color-light);
}

.hvn-theme-error-recent-list li:last-child {
    border-bottom: none;
}

.hvn-theme-error-recent-list a {
    display: block;
    padding: 10px 0;
    color: var(--hvn-theme-text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.hvn-theme-error-recent-list a:hover {
    color: var(--hvn-theme-brand-primary);
    padding-left: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hvn-theme-error-404-modern {
        padding: 40px 20px;
    }
    
    .hvn-theme-error-code {
        font-size: 5rem;
    }
    
    .hvn-theme-error-title {
        font-size: 1.5rem;
    }
    
    .hvn-theme-error-message {
        font-size: 1rem;
    }
    
    .hvn-theme-error-actions {
        flex-direction: column;
    }
    
    .hvn-theme-error-actions .hvn-theme-btn {
        justify-content: center;
    }
    
    .hvn-theme-error-links-grid {
        grid-template-columns: 1fr;
    }
    
    .hvn-theme-error-search .search-form {
        flex-direction: column;
    }
    
    .hvn-theme-error-search .search-submit {
        padding: 12px 24px;
    }
}