/* Version: 5.5 - Final Polish */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --mc-gold: #bca673;
    --mc-gold-dark: #a18f64;
}

.text-mc-gold { color: var(--mc-gold); }
.bg-mc-gold { background-color: var(--mc-gold); color: #ffffff; }
.bg-mc-gold:hover { background-color: var(--mc-gold-dark); }
.border-mc-gold { border-color: var(--mc-gold); }
.focus\:ring-mc-gold:focus { box-shadow: 0 0 0 2px rgba(188, 166, 115, 0.35); }
.focus\:border-mc-gold:focus { border-color: var(--mc-gold); }

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

/* --- HEADER --- */
#user-info-header .user-name-badge {
    background-color: #22c55e; /* green-500 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}
#user-info-header .logout-btn {
    background-color: #ef4444; /* red-500 */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.2s;
}
#user-info-header .logout-btn:hover {
    background-color: #dc2626; /* red-600 */
}

/* --- NAV TILE MENU --- */
.nav-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.4rem; padding: 0.55rem 0.15rem; background-color: white;
    border-radius: 0.75rem; border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-size: 0.62rem; line-height: 1; font-weight: 600; color: #4b5563;
    text-align: center; transition: all 0.2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
}
.nav-tile i { font-size: 1.5rem; color: var(--mc-gold); transition: all 0.2s ease-in-out; }
.nav-tile:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.08); color: var(--mc-gold-dark); }
.nav-tile.active { background-color: var(--mc-gold); color: white; border-color: var(--mc-gold-dark); }
.nav-tile.active i { color: white; }
.nav-alert-bubbles {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.nav-alert-bubble {
    position: relative;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    border-radius: 9999px;
    padding: 0.4rem 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    min-width: 44px;
}
.nav-alert-bubble i {
    color: var(--mc-gold);
}
.nav-alert-badge {
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    line-height: 1;
}
.nav-alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #facc15;
    font-size: 0.8rem;
}
.nav-alert-warning .nav-alert-badge {
    background-color: #f59e0b;
}
.nav-alert-dropdown {
    position: relative;
    width: 100%;
}
.nav-alert-dropdown__panel {
    position: absolute;
    right: 0;
    top: 0.25rem;
    z-index: 30;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    min-width: 280px;
    max-width: 360px;
    padding: 0.75rem;
}
.nav-alert-dropdown__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}
.nav-alert-dropdown__list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.nav-alert-dropdown__item {
    padding: 0.5rem 0.6rem;
    border-radius: 0.5rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.85rem;
}
.nav-alert-dropdown__item-title {
    font-weight: 700;
    color: #111827;
}
.nav-alert-dropdown__item-meta {
    font-size: 0.75rem;
    color: #6b7280;
}
.nav-alert-dropdown__form {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}
.nav-alert-dropdown__textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
}
.nav-alert-dropdown__submit {
    margin-top: 0.5rem;
    width: 100%;
    background-color: var(--mc-gold);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-weight: 700;
    cursor: pointer;
}

/* --- WEEKLY VIEW --- */
.week-nav-btn {
    background-color: white; border: 1px solid #d1d5db; border-radius: 9999px;
    width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: all 0.2s;
}
.week-nav-btn:hover { background-color: #f9fafb; border-color: var(--mc-gold); color: var(--mc-gold); }

.day-card {
    background-color: #ffffff; border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); padding: 1rem;
    border-top: 4px solid #d1d5db; /* Default border */
    transition: all 0.2s ease-in-out;
}
.day-card.is-today { border-top-color: var(--mc-gold); box-shadow: 0 4px 10px rgba(188, 166, 115, 0.2); }
.day-card.is-past { background-color: #f9fafb; opacity: 0.8; }
.day-card-header { text-align: center; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.day-name { font-size: 0.75rem; font-weight: 600; color: #6b7280; text-transform: uppercase; }
.day-number { font-size: 1.5rem; font-weight: 700; color: #1f2937; }
.schedule-info { font-size: 0.875rem; text-align: center; padding: 0.5rem; border-radius: 0.5rem; background-color: #f3f4f6; }
.schedule-info .name { font-weight: 600; }
.schedule-info .own-shift { background-color: #dcfce7; color: #15803d; }

.add-group-btn {
    width: 100%; border: 2px dashed #60a5fa; color: #2563eb;
    font-weight: 600; font-size: 0.875rem; border-radius: 0.5rem;
    padding: 0.5rem; margin-top: 0.75rem; transition: all 0.2s;
}
.add-group-btn:hover { background-color: #eff6ff; border-style: solid; }

.booking-item {
    background-color: #f0f9ff; border-left: 4px solid #60a5fa;
    padding: 0.75rem; border-radius: 0.5rem;
}
.booking-item.completed { background-color: #f0fdf4; border-left-color: #22c55e; }
.booking-item.pending { background-color: #fff7e6; border-left-color: #facc15; }
.booking-item.cancelled {
    background-color: #f1f5f9; /* slate-100 */
    border-left-color: #ef4444; /* red-500 */
    opacity: 0.7;
}
.booking-item.cancelled .booking-title,
.booking-item.cancelled .booking-time {
    text-decoration: line-through;
    color: #64748b; /* slate-500 */
}

.booking-header { display: flex; justify-content: space-between; align-items: flex-start; }
.booking-title { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.booking-time { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.booking-details-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap-y: 0.25rem; gap-x: 1rem;
    font-size: 0.75rem; color: #4b5563; margin-top: 0.5rem;
}
.booking-details-grid span { display: flex; align-items: center; gap: 0.25rem; }
.booking-action-btn {
    width: 100%; background-color: #22c55e; color: white;
    font-weight: 600; font-size: 0.875rem; border-radius: 0.5rem;
    padding: 0.5rem; margin-top: 0.75rem; transition: background-color 0.2s;
}
.booking-action-btn:hover { background-color: #16a34a; }
.booking-arrived-badge {
    display: inline-block; background-color: #16a34a; color: white;
    font-weight: 600; font-size: 0.75rem; border-radius: 9999px;
    padding: 0.25rem 0.75rem; margin-top: 0.75rem;
}
.booking-cancelled-badge {
    display: inline-block; background-color: #ef4444; color: white;
    font-weight: 600; font-size: 0.75rem; border-radius: 9999px;
    padding: 0.25rem 0.75rem; margin-top: 0.75rem;
}

/* --- DASHBOARD INFO PANELS --- */
.info-panel { background-color: #fff; border-radius: 0.75rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.panel-header { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid #e5e7eb; font-size: 1rem; font-weight: 700; }
.panel-header i { color: var(--mc-gold); }
.panel-content { padding: 1rem; max-height: 400px; overflow-y: auto; }
.status-dot { width: 0.6rem; height: 0.6rem; border-radius: 9999px; flex-shrink: 0; }
.status-dot.unread { background-color: #ef4444; }
.status-dot.read { background-color: #22c55e; }
.read-btn {
    font-size: 0.75rem; font-weight: 600; color: #4b5563;
    background-color: #e5e7eb; padding: 0.25rem 0.75rem; border-radius: 9999px;
    transition: background-color 0.2s;
}
.read-btn:hover { background-color: #d1d5db; }

/* --- Játékok View --- */
.game-tile, .game-tile-placeholder {
    background-color: #fff; border-radius: 0.75rem; padding: 1.5rem; text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: all 0.2s ease-in-out;
}
.game-tile { color: inherit; text-decoration: none; }
.game-tile:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.game-tile i { font-size: 3rem; color: var(--mc-gold); }
.game-tile-placeholder i { font-size: 3rem; color: #9ca3af; }
.game-tile-title { font-size: 1.25rem; font-weight: 700; margin-top: 1rem; }
.game-tile-desc { font-size: 0.875rem; color: #6b7280; margin-top: 0.5rem; }

/* --- MODAL --- */
.modal { position: fixed; inset: 0; background-color: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 100; }
.modal.hidden { display: none; }
.modal-content { background-color: white; border-radius: 0.75rem; box-shadow: 0 10px 25px rgba(0,0,0,0.2); width: 100%; max-width: 500px; padding: 1.5rem; position: relative; }
.modal-close-btn { position: absolute; top: 0.5rem; right: 0.75rem; font-size: 1.5rem; color: #9ca3af; background: none; border: none; cursor: pointer; }
.modal-title { font-size: 1.5rem; font-weight: 700; color: var(--mc-gold); border-bottom: 1px solid #e5e7eb; padding-bottom: 0.75rem; margin-bottom: 1rem; }
.modal-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #d1d5db; border-radius: 0.5rem; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
.modal-input:focus { outline: none; border-color: var(--mc-gold); box-shadow: 0 0 0 2px rgba(188, 166, 115, 0.4); }
.modal-submit-btn { width: 100%; background-color: #22c55e; color: white; font-weight: 600; padding: 0.75rem; border-radius: 0.5rem; transition: background-color 0.2s; }
.modal-submit-btn:hover { background-color: #16a34a; }
.info-grid { display: grid; grid-template-columns: 120px 1fr; gap: 0.5rem; align-items: center; }
.info-grid > dt { font-weight: 600; color: #6b7280; }

/* --- Schedule View --- */
.schedule-section {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin-bottom: 2rem;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.month-nav-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.schedule-mode-tabs-wrapper {
    display: flex;
    justify-content: flex-start;
}
.schedule-mode-tabs {
    display: inline-flex;
    gap: 0.5rem;
    padding: 0.25rem;
    background-color: #fff;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.schedule-mode-btn {
    border: none;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: transparent;
    color: #4b5563;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.schedule-mode-btn.active {
    background-color: #111827;
    color: #fff;
}
.schedule-mode-btn:not(.active):hover {
    background-color: #f3f4f6;
    color: #111827;
}
.schedule-flash {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.schedule-flash--success {
    background-color: #dcfce7;
    color: #166534;
}
.schedule-flash--info {
    background-color: #e0f2fe;
    color: #02416b;
}
.schedule-flash--warning {
    background-color: #fef3c7;
    color: #92400e;
}
.schedule-flash--error {
    background-color: #fee2e2;
    color: #b91c1c;
}
.planned-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.planned-summary-label {
    font-size: 0.85rem;
    color: #6b7280;
}
.planned-summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}
.planned-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.planned-section {
    margin-bottom: 0;
}
.planned-month-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.planned-month-btn {
    border: 1px solid #d1d5db;
    background-color: white;
    border-radius: 9999px;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.planned-month-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.planned-month-btn:not(:disabled):hover {
    background-color: #f3f4f6;
    color: var(--mc-gold);
}
.planned-day-card {
    background-color: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.planned-day-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.planned-day-card__weekday {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #6b7280;
}
.planned-day-card__number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.planned-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: #f3f4f6;
    color: #374151;
}
.planned-status-open {
    background-color: #eef2ff;
    color: #3730a3;
}
.planned-status-needCashier {
    background-color: #fef3c7;
    color: #b45309;
}
.planned-status-closed {
    background-color: #fee2e2;
    color: #b91c1c;
}
.planned-day-alert {
    background-color: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    border-radius: 0.5rem;
    padding: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.planned-day-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}
.planned-shift-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.planned-shift-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9fafb;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}
.planned-shift-item--own {
    border-color: #34d399;
    background-color: #ecfdf5;
}
.planned-shift-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}
.planned-shift-time {
    font-size: 0.8rem;
    color: #6b7280;
}
.planned-remove-shift-btn {
    border: none;
    background: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.planned-shift-empty {
    font-size: 0.85rem;
    color: #6b7280;
}
.planned-day-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.planned-add-shift-btn {
    border: 1px dashed #93c5fd;
    border-radius: 0.75rem;
    padding: 0.5rem;
    font-weight: 600;
    color: #1d4ed8;
    background-color: #eff6ff;
    cursor: pointer;
}
.planned-add-shift-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.planned-shift-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
}
.planned-shift-form.hidden {
    display: none;
}
.planned-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.planned-input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4b5563;
}
.planned-input {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.4rem 0.5rem;
}
.planned-shift-submit {
    grid-column: span 2;
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 0.75rem;
    padding: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

/* MODIFIED Schedule View with Colors */
.full-schedule-body-colored {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: #1f2937; 
    min-height: 100px;
}
.worker-info-colored .worker-name { font-weight: 700; }
.worker-info-colored .worker-time { font-size: 0.875rem; font-weight: 500; }
.worker-info-colored .worker-phone { font-size: 0.75rem; opacity: 0.8; }
.no-schedule-msg-colored {
    font-size: 0.875rem;
    color: #374151;
    text-align: center;
    padding: 1rem 0;
    font-weight: 600;
}


/* MODIFIED Booking View */
.booking-day-column {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    min-height: 400px;
}
.is-today-column {
    background-color: #fefce8; /* yellow-50 */
    border-color: var(--mc-gold);
    box-shadow: 0 4px 10px rgba(188, 166, 115, 0.2);
}


/* Daily Closing Styles */
#view-closing > div {
    background-color:white; padding:1.5rem; border-radius: 0.75rem; 
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.daily-closing-header { border-bottom: 1px solid #e5e7eb; padding-bottom: 1rem; margin-bottom: 1.5rem; display:flex; justify-content:space-between; align-items:center; }
.daily-closing-title { font-size: 1.5rem; font-weight: 700; color: #374151; }
.daily-closing-date-input { border: 1px solid #d1d5db; border-radius: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; }
.cashier-info { background-color: var(--mc-gold); color: white; text-align: center; padding: 0.75rem; border-radius: 0.5rem; margin-bottom: 2rem; font-weight: 600; }
.closing-section { margin-bottom: 2rem; }
.section-title { font-size: 1.125rem; font-weight: 600; color: #374151; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--mc-gold); }
.daily-closing-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.input-group { border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 1rem; background-color: #ffffff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: all 0.2s; }
.input-group:focus-within { border-color: var(--mc-gold); box-shadow: 0 0 0 3px rgba(188, 166, 115, 0.4); }
.tile-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.tile-header i { color: var(--mc-gold); font-size: 1.25rem; }
.tile-header label { font-weight: 600; color: #4b5563; font-size: 0.875rem; }
.tile-body { display: flex; align-items: baseline; gap: 0.25rem; }
.form-input { width: 100%; border: none; background: transparent; font-size: 1.75rem; font-weight: 700; color: #1f2937; padding: 0; }
.form-input:focus { outline: none; }
.form-input::-webkit-outer-spin-button, .form-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-input[type=number] { -moz-appearance: textfield; }
.unit { font-size: 1rem; font-weight: 500; color: #6b7280; }
.summary-section { background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 1rem; margin-top: 2rem; }
.summary-item { display: flex; justify-content: space-between; font-size: 1rem; padding: 0.5rem 0; }
.summary-item:not(:last-child) { border-bottom: 1px dashed #d1d5db; }
.summary-label { color: #4b5563; }
.summary-value { font-weight: 700; color: #1f2937; }
.discrepancy-ok { color: #16a34a; }
.discrepancy-error { color: #dc2626; }
.submit-button { width: 100%; background-color: var(--mc-gold); color: white; padding: 0.875rem; border-radius: 0.5rem; font-weight: 600; margin-top: 2rem; border: none; cursor: pointer; transition: all 0.2s; font-size: 1rem; }
.submit-button:hover { background-color: var(--mc-gold-dark); transform: translateY(-2px); }
.feedback-message { text-align: center; margin-top: 1rem; height: 1.25rem; font-weight: 500; }
.feedback-message.success { color: #16a34a; }
.feedback-message.error { color: #dc2626; }
.feedback-message.info { color: #2563eb; }

/* --- Knowledge View Accordion --- */
.knowledge-accordion-item {
    background-color: #fff;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}
.knowledge-accordion-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.knowledge-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    list-style: none; /* Remove default marker */
}
.knowledge-summary::-webkit-details-marker {
    display: none; /* Hide for Chrome/Safari */
}
.knowledge-summary::after {
    content: '\\F282'; /* Bootstrap Icons chevron-down */
    font-family: 'bootstrap-icons';
    font-size: 1rem;
    transition: transform 0.2s ease-in-out;
    flex-shrink: 0;
}
.knowledge-accordion-item[open] > .knowledge-summary {
    border-bottom: 1px solid #e5e7eb;
}
.knowledge-accordion-item[open] > .knowledge-summary::after {
    transform: rotate(180deg);
}
.knowledge-content {
    padding: 0 1rem 1rem 1rem;
}
