/* Shared module reports index layout – same style for Leave, Payroll, EmployeeDB, Incentives&Deductions, etc. */
.module-reports-container { padding: 24px; }
.module-reports-header { margin-bottom: 24px; }
.module-reports-header h2 { margin: 0 0 8px; font-size: 24px; }
.module-reports-header p { margin: 0; color: #616161; }
.module-reports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.module-report-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: white; border-radius: 16px; border: 1px solid #e0e0e0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); cursor: pointer; transition: box-shadow 0.2s; }
.module-report-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.module-report-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; flex-shrink: 0; }
.module-report-content { flex: 1; min-width: 0; }
.module-report-content h3 { margin: 0 0 6px; font-size: 16px; }
.module-report-content p { margin: 0; font-size: 13px; color: #616161; }
.module-report-card > i.fa-chevron-right { color: #9e9e9e; }

.module-reports-catalog { display: flex; flex-direction: column; gap: 28px; }

/* Find / search — high specificity so Radzen Material cannot leave a bare browser textbox */
.module-reports-catalog .module-reports-find-panel {
    width: min(100%, 560px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.module-reports-catalog .module-reports-find-field {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    min-height: 52px;
    padding: 6px 8px 6px 16px;
    gap: 12px;
    border-radius: 16px;
    background: #f1f4f8 !important;
    border: 1px solid #e2e8ef !important;
    box-shadow: none !important;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.module-reports-catalog .module-reports-find-field:hover {
    background: #ebf0f5 !important;
    border-color: #d3dde8 !important;
}
.module-reports-catalog .module-reports-find-field:focus-within,
.module-reports-catalog .module-reports-find-field.is-active {
    background: #ffffff !important;
    border-color: #90caf9 !important;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.14) !important;
}
.module-reports-catalog .module-reports-find-glyph {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: grid !important;
    place-items: center;
    color: #6b7c8d;
    font-size: 15px;
    line-height: 1;
    pointer-events: none;
}
.module-reports-catalog .module-reports-find-field:focus-within .module-reports-find-glyph,
.module-reports-catalog .module-reports-find-field.is-active .module-reports-find-glyph {
    color: #1e88e5;
}
.module-reports-catalog .module-reports-find-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: block !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
.module-reports-catalog input.module-reports-find-input,
.module-reports-catalog .module-reports-find-wrap > input.module-reports-find-input {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    color: #1f2a36 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    line-height: 1.35 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}
.module-reports-catalog input.module-reports-find-input::placeholder,
.module-reports-catalog .module-reports-find-wrap > input.module-reports-find-input::placeholder {
    color: #8a97a5 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}
.module-reports-catalog .module-reports-find-count-chip {
    flex: 0 0 auto;
    max-width: 38%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 6px 11px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8ef;
    color: #5f7082;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    pointer-events: none;
}
.module-reports-catalog .module-reports-find-field:focus-within .module-reports-find-count-chip {
    display: none;
}
.module-reports-catalog .module-reports-find-clear {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid !important;
    place-items: center;
    border: 0 !important;
    border-radius: 999px;
    color: #5f7082;
    background: #e4eaf1 !important;
    cursor: pointer;
}
.module-reports-catalog .module-reports-find-clear:hover {
    color: #173f61;
    background: #d5dee8 !important;
}
.module-reports-catalog .module-reports-find-status {
    margin: 0 6px;
    color: #7a8896;
    font-size: 12px;
    line-height: 1.4;
}
@media (max-width: 600px) {
    .module-reports-catalog .module-reports-find-panel { width: 100%; }
    .module-reports-catalog .module-reports-find-field { min-height: 48px; border-radius: 14px; }
    .module-reports-catalog input.module-reports-find-input { font-size: 16px !important; }
    .module-reports-catalog .module-reports-find-count-chip { display: none; }
}

.module-reports-section-head h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #37474f; letter-spacing: 0.02em; text-transform: none; }
.module-reports-section-head p { margin: 0 0 12px; font-size: 13px; color: #616161; }
.module-reports-recommended {
    padding: 20px;
    background: linear-gradient(180deg, #eef6ff 0%, #f7fbff 100%);
    border: 1px solid #d6e8fb;
    border-radius: 16px;
}
.module-reports-recommended-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.module-report-card-primary { border-color: #90caf9; box-shadow: 0 8px 24px rgba(25,118,210,0.12); }
.module-report-card-recommended { border-color: #c5cae9; }
.module-report-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.module-report-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e8eaf6;
    color: #3949ab;
}
.module-report-badge-start { background: #e3f2fd; color: #1565c0; }
.module-reports-category .module-reports-grid { margin-top: 4px; }
.module-reports-empty { margin: 8px 0 0; color: #757575; font-size: 14px; }
