/**
 * 404 Error Page Styles
 *
 * @package HomeProz
 */

.error-404 {
    text-align: center;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

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

.error-title {
    font-size: 8rem;
    line-height: 1;
    color: var(--color-accent);
    margin-bottom: 0.5rem;

    @media (max-width: 640px) {
        font-size: 5rem;
    }
}

.error-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0;
}

.error-content {
    margin-bottom: 2rem;

    p {
        font-size: 1rem;
        color: var(--color-text-muted);
    }
}

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

.error-search {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);

    p {
        margin-bottom: 1rem;
        color: var(--color-text-muted);
    }
}

// Search form on 404
.search-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;

    .search-field {
        flex-grow: 1;
        border-radius: 0.25rem 0 0 0.25rem;
    }

    .search-submit {
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
        background-color: var(--color-accent);
        color: white;
        border: none;
        border-radius: 0 0.25rem 0.25rem 0;
        font-weight: 600;
        cursor: pointer;

        &:hover {
            background-color: var(--color-accent-hover);
        }
    }
}
