.employee-recipes-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.employee-recipes-mode-tabs {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f8fafc;
}

.employee-recipes-mode-tab {
    min-height: 2.25rem;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b5563;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
}

.employee-recipes-mode-tab:hover {
    color: #1d4ed8;
    background: #eff6ff;
}

.employee-recipes-mode-tab.is-active {
    color: #1d4ed8;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.employee-recipes-admin-panel {
    min-width: 0;
}

.employee-recipes-admin-panel .app-shell {
    width: 100%;
    padding: 0;
}

.employee-recipes-admin-panel .app-shell-ribbon {
    margin-top: 0;
}

.employee-recipes-filter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: none;
}

.employee-recipes-search {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.employee-recipes-filter-label {
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.employee-recipes-search-field {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #6b7280;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.employee-recipes-search-field:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.employee-recipes-search-field .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 1.15rem;
    color: #9ca3af;
}

.employee-recipes-search input {
    width: 100%;
    min-width: 0;
    min-height: 2.55rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    outline: none;
}

.employee-recipes-search input::placeholder {
    color: #9ca3af;
}

.employee-recipes-tags {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.employee-recipes-tags-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.employee-recipes-clear-tags {
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.1rem 0;
}

.employee-recipes-clear-tags:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.employee-recipes-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.employee-recipes-tag {
    min-height: 2rem;
    max-width: 100%;
    padding: 0 0.72rem;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.employee-recipes-tag:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.employee-recipes-tag.is-selected {
    border-color: #2563eb;
    background: #dbeafe;
    color: #1d4ed8;
}

.employee-recipes-tag-prefix {
    color: #60a5fa;
    font-weight: 800;
}

.employee-recipes-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .employee-recipes-filter {
        grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.4fr);
        align-items: start;
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .employee-recipes-mode-tabs {
        width: 100%;
    }

    .employee-recipes-mode-tab {
        flex: 1 1 0;
    }

    .employee-recipes-filter {
        padding: 0.85rem;
        border-radius: 8px;
    }

    .employee-recipes-tags-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .employee-recipes-tag {
        min-height: 1.9rem;
        padding-inline: 0.62rem;
        font-size: 0.8rem;
    }
}
