.error-404 {
    background-color: #f8f9fa;
    color: #333;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404 .container {
    max-width: 600px;
}

.error-404 h1 {
    font-size: 2.5rem;
    color: var(--wp--preset--color--dh-header);
    margin-bottom: 1rem;
    font-weight: bold;
}

.error-404 p.lead {
    font-size: 1.25rem;
    color: var(--wp--preset--color--dh-text);
    margin-bottom: 1.5rem;
}

.error-404 .error-icon img {
    max-width: 150px;
    animation: float 3s ease-in-out infinite;
}

.error-404 .btn-primary {
    background-color: var(--wp--preset--color--dh-header);
    color: white;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.error-404 .btn-primary:hover {
    background-color: var(--wp--preset--color--dh-header);
    filter: brightness(.7);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
/* 404 Page Search Form Styling */
.search-container {
    margin-top: 1.5rem;
}

.search-container input[type="search"] {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    width: 100%;
    margin-bottom: 1rem;
}

.search-container input[type="submit"] {
    background-color: var(--wp--preset--color--dh-header);
    height: 50px;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.search-container input[type="submit"]:hover {
    background-color: var(--wp--preset--color--dh-header);
    filter: brightness(.7);
}