.type-search-page {
    background: #f8fafc;
    min-height: calc(100vh - 140px);
    padding: 1.4rem 0 2.2rem;
}

.type-search-header {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    padding: 1.2rem 1.25rem;
    margin-bottom: 1rem;
}

.type-search-header h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.type-search-desc {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    color: #475569;
}

.type-search-meta {
    margin-top: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #475569;
}

.type-search-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-weight: 600;
}

.type-search-results {
    margin-top: 0;
}

.type-search-filter-wrap {
    margin-bottom: 1rem;
}

.type-search-filter-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.type-search-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.type-search-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.type-search-field span {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 700;
}

.type-search-field input,
.type-search-field select {
    width: 100%;
    min-height: 40px;
    padding: 0.5rem 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    background: #fff;
}

.type-search-field input:focus,
.type-search-field select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.type-search-filter-actions {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.type-search-filter-btn,
.type-search-reset-btn {
    min-height: 38px;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.type-search-filter-btn {
    border: none;
    color: #ffffff;
    background: #0f172a;
    cursor: pointer;
}

.type-search-reset-btn {
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    text-decoration: none;
}

@media (max-width: 768px) {
    .type-search-page {
        padding-top: 1rem;
    }

    .type-search-header {
        padding: 1rem;
    }

    .type-search-header h1 {
        font-size: 1.15rem;
    }

    .type-search-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .type-search-filter-grid {
        grid-template-columns: 1fr;
    }

    .type-search-filter-actions {
        width: 100%;
    }

    .type-search-filter-btn,
    .type-search-reset-btn {
        flex: 1;
    }
}
