/* ======================================
   FILTER CARD
====================================== */

.filter-card{

    border:none;

    border-radius:14px;

    box-shadow:0 2px 10px rgba(0,0,0,.06);

}

.filter-card .card-header{

    background:white;

    border-bottom:1px solid #E2E8F0;

    font-weight:600;

}

.filter-card label{

    font-size:13px;

    font-weight:600;

    color:#475569;

    margin-bottom:6px;

}

.filter-card .Select-control{

    min-height:42px;

    border-radius:8px;

}
/* ===========================
   KPI Cards
=========================== */

.kpi-card{

    border:none !important;

    border-radius:14px;

    border-top:4px solid #2563EB !important;

    box-shadow:0 2px 10px rgba(15,23,42,.08);

    transition:.25s;

}

.kpi-card:hover{

    transform:translateY(-4px);

    box-shadow:0 8px 20px rgba(15,23,42,.12);

}

.kpi-title{

    color:#64748B;

    font-size:14px;

    font-weight:600;

}

.kpi-value{

    margin-top:10px;

    margin-bottom:8px;

    font-size:34px;

    font-weight:700;

    color:#0F172A;

}

.kpi-trend{

    color:#16A34A;

    font-size:13px;

    font-weight:600;

}

.kpi-icon{

    width:56px;

    height:56px;

    border-radius:50%;

    background:#EFF6FF;

    display:flex;

    align-items:center;

    justify-content:center;

}
.Select-control,
.Select__control,
.dash-dropdown .Select-control {
    min-height: 48px;
}
.Select-control,
.Select__control {
    border-radius: 10px !important;
}
.Select-control,
.Select__control{

    border:1px solid #D6DCE8 !important;

    box-shadow:none;

}
.is-focused .Select-control,
.Select__control--is-focused{

    border-color:#15294B !important;

    box-shadow:0 0 0 3px rgba(21,41,75,.12);

}
.Select-placeholder,
.Select-value-label{

    padding-left:8px;

    font-size:14px;

}
.apply-btn{

    height:48px;

    border-radius:10px;

    font-weight:600;

}
.kpi-value{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}
.dashboard-tabs-wrapper {
    /* display: flex; */
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
}

.dashboard-tabs {
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 2px;
    background: white;
}
.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.report-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}
.report-control-btn {
    border: 1px solid #d1d5db;
    background: white;
    color: #1f2937;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 6px;
}
.report-controls-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}
.report-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}
.filter-panel {
    position: absolute;
    top: 40px;
    right: 0;

    width: 300px;

    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;

    padding: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    z-index: 1000;
}
.report-control-btn {
    height: 34px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    box-sizing: border-box;
}
.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.filter-apply-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.reset-filter-btn {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.reset-filter-btn:hover {
    background: #f3f4f6;
}
.report-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.report-control-btn {
    position: relative;
    z-index: 1001;
}

/* Dropdown panels */
.filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    width: 225px;
    padding: 14px;

    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-radius: 8px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);

    z-index: 1000;
}
/* =====================================================
   REPORT BUILDER CONTROL PANEL
   ===================================================== */

.filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    width: 265px;

    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-radius: 8px;

    padding: 16px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

    z-index: 1000;
}


/* =====================================================
   PANEL TITLE
   ===================================================== */

.filter-panel-title {
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 14px;

    color: #1f2937;
}


/* =====================================================
   FORM GROUP
   ===================================================== */

.filter-form-group {
    margin-bottom: 14px;
}


/* Label */

.filter-form-group label {
    display: block;

    font-size: 12px;
    font-weight: 500;

    color: #374151;

    margin-bottom: 6px;
}


/* =====================================================
   DROPDOWNS
   ===================================================== */

.filter-form-group .Select-control {
    min-height: 38px;
    border-radius: 7px;
    border-color: #cbd5e1;
}


/* =====================================================
   BUTTON AREA
   ===================================================== */

.filter-apply-container {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 4px;
}


/* Apply */

.apply-filter-btn {
    font-size: 12px;
    padding: 7px 13px;

    border-radius: 6px;
}


/* Reset */

.reset-filter-btn {
    font-size: 12px;
    padding: 7px 13px;

    border-radius: 6px;
}
.question-navigator-card {
    height: 100%;
}

.question-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.question-option {
    display: block;
    padding: 9px 8px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.question-option:hover {
    background: #F1F5F9;
}

.question-selection-info {
    margin-top: 10px;
    font-size: 12px;
    color: #64748B;
    text-align: right;
}
.ai-conclusion-section {
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
}

.ai-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.ai-conclusion-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.ai-list {
    margin: 0;
    padding-left: 22px;
}

.ai-list-item {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 6px;
}

.ai-list-item:last-child {
    margin-bottom: 0;
}
.details-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    background: #FFFFFF;
}

.details-body {
    padding: 22px 26px;
}

.details-header {
    display: flex;
    align-items: center;
    color: #0F172A;
}

.details-title {
    font-size: 16px;
    font-weight: 600;
}

.details-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 16px 0 20px;
}

.details-grid {
    margin-bottom: -8px;
}

.detail-item {
    min-height: 52px;
}

.detail-label {
    font-size: 11px;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    line-height: 1.5;
    word-break: break-word;
}
.details-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.details-body {
    padding: 22px 28px 20px;
}

.details-header {
    display: flex;
    align-items: center;
    gap: 11px;
}

.details-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EFF6FF;
    color: #2563EB;
}

.details-title {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
}

.details-subtitle {
    margin-top: 2px;
    font-size: 11px;
    color: #64748B;
}

.details-divider {
    height: 1px;
    background: #E2E8F0;
    margin: 17px 0 20px;
}

.details-grid {
    row-gap: 2px;
}

.detail-field {
    padding-left: 8px;
    padding-right: 8px;
}

.detail-item {
    min-height: 55px;
    padding: 4px 4px 12px;
}

.detail-label {
    font-size: 10px;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.detail-value {
    font-size: 13px;
    font-weight: 500;
    color: #0F172A;
    line-height: 1.5;
    word-break: break-word;
}

.detail-description {
    padding-top: 4px;
    padding-bottom: 14px;
}

.detail-description .detail-value {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 11px 13px;
    color: #334155;
    font-weight: 400;
    min-height: 42px;
}
.dashboard-datepicker {
    height: 34px !important;
    min-height: 34px !important;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
.dashboard-datepicker .dash-datepicker-input {
    height: 32px !important;
    box-sizing: border-box !important;
}
.dashboard-datepicker-input-wrapper {
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;
}