/* ==========================================
           404 ERROR PAGE (NO CARD)
        ========================================== */
.error-page-wrapper {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
    padding: 120px 20px;
    text-align: center;
}

/* Large Background "404" Watermark */
.error-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw; /* Responsive huge text */
    font-weight: 900;
    color: var(--surface-container-low);
    line-height: 1;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

/* Content Container */
.error-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

/* Icon Style */
.error-icon {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-block;
    background: var(--surface-container-low);
    padding: 24px;
    border-radius: 50%;
}

/* Typography */
.error-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 16px;
    line-height: 1.2;
}

.error-text {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Search Bar (Optional nice touch) */
.error-search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto 24px;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
}

.error-search-box input {
    flex: 1;
    padding: 14px 20px;
    border: 0;
    font-size: 15px;
    background: transparent;
}
.error-search-box input:focus { outline: none; }

.error-search-box button {
    background: transparent;
    border: 0;
    padding: 0 16px;
    color: var(--primary);
    cursor: pointer;
}

/* Buttons */
.btn-back-home-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back-home-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .error-bg-number {
        font-size: 35vw;
    }
    .error-icon { font-size: 60px; padding: 20px; }
    .error-title { font-size: 26px; }
}