body {
    min-height: unset!important;
}


.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60vh;
    text-align: center;
}

.error-logo {
    margin-bottom: 2rem;
}

.error-logo img {
    max-width: 200px;
    height: auto;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 18px;
    color: var(--text-dark-low);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

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

.error-button {
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px!important;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0!important;
}

.error-button:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.error-button i {
    margin-right: 8px;
    font-size: 16px;
    font-style: normal;
}

.error-illustration {
    max-width: 400px;
    margin: 2rem auto;
}

.error-illustration img {
    width: 100%;
    height: auto;
}

.error-search {
    max-width: 500px;
    width: 100%;
    margin: 1rem auto 2rem;
}

.error-search-form {
    display: flex;
    position: relative;
    width: 100%;
}

.error-search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--tertiary-color);
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.error-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-low);
    outline: none;
}

.error-search-button {
    position: absolute;
    right: 10px;
    top: 15%;
    height: 70%;
    padding: 0 8px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.error-search-button i {
    font-size: 18px;
}

.error-search-button:hover {
    background-color: var(--primary-color-dark);
}

.error-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.error-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.error-links a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.error-social {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.error-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--tertiary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.error-social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.error-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 24px;
    }
    
    .error-message {
        font-size: 16px;
    }
    
    .error-illustration {
        max-width: 300px;
    }
    
    .error-container {
        padding: 1rem;
    }

    .container {
        padding: 0;
    }

    .error-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 70px;
    }
    
    .error-title {
        font-size: 20px;
    }
    
    .error-message {
        font-size: 14px;
    }
    
    .error-illustration {
        max-width: 250px;
    }
    
    .error-container {
        min-height: 50vh;
    }
    
    .error-button {
        padding: 0.6rem 1.5rem;
        font-size: 14px;
    }
}
