.tabf-filters {
    border: 1px solid #e2e4ea;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.tabf-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tabf-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tabf-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tabf-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
}

.tabf-input,
.tabf-select {
    width: 100%;
    border: 1px solid #cbd0dc;
    border-radius: 6px;
    padding: 0.55rem 0.8rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
    color: #0f172a;
}

.tabf-input:focus,
.tabf-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    outline: none;
}

.tabf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 20px;
}

.tabf-submit {
    border: none;
    border-radius: 6px;
    padding: 10px;
    background-color: #111827;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.tabf-submit:hover,
.tabf-submit:focus {
    background-color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    outline: none;
}

.tabf-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd0dc;
    border-radius: 6px;
    padding: 0.6rem 1.3rem;
    color: #ff0000;
    background-color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.tabf-reset:hover,
.tabf-reset:focus {
    border-color: #4f46e5;
    color: #1d1f2b;
    background-color: #eef2ff;
    outline: none;
}

@media (max-width: 640px) {
    .tabf-group {
        flex-basis: 100%;
    }

    .tabf-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tabf-submit,
    .tabf-reset {
        width: 100%;
        text-align: center;
    }
}
