.jc-calendar-wrapper {
    position: relative;
    margin-top: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #6c757d;
    border-radius: 8px;
    padding: 16px 20px 14px;
    transition: all 0.25s ease;
}

.jc-calendar-wrapper:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Disabled state when date picker is active */
.jc-calendar-wrapper.jc-disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f3f4f6;
}

/* Header row: icon + title + active badge */
.jc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.jc-header-icon {
    width: 32px;
    height: 32px;
    background: #6c757d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.jc-header-title {
    font-weight: 700;
    font-size: 13.5px;
    color: #1f2937;
    letter-spacing: 0.3px;
}

.jc-header-subtitle {
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 1px;
}

/* Active filter badge */
.jc-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #6c757d;
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px 5px 10px;
    border-radius: 20px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.jc-active-badge i {
    font-size: 13px;
    opacity: 0.9;
}

.jc-active-badge .jc-badge-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: background 0.2s;
    margin-left: 4px;
}

.jc-active-badge .jc-badge-clear:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Dropdowns row */
.jc-dropdowns {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.jc-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jc-field label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
}

.jc-field select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    height: 38px;
    padding: 0 32px 0 12px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.jc-field select:hover {
    border-color: #9ca3af;
}

.jc-field select:focus {
    border-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.15);
}

.jc-field select option {
    color: #374151;
}

/* Individual widths */
.jc-field--year select {
    width: 105px;
}

.jc-field--half select {
    width: 120px;
}

.jc-field--quarter select {
    width: 125px;
}

.jc-field--cycle select {
    width: 200px;
}

/* OR tag */
.jc-or-tag {
    position: relative;
    display: flex;
    align-items: center;
    align-self: flex-end;
    height: 38px;
}

.jc-or-tag::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: #d1d5db;
}

.jc-or-tag span {
    position: relative;
    z-index: 1;
    background: #f9fafb;
    font-size: 10.5px;
    font-weight: 700;
    color: #6b7280;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.4px;
    border: 1px solid #e5e7eb;
}

/* Date picker hint text */
.jc-date-hint {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

.jc-date-hint.hint-active {
    color: #059669;
    font-style: normal;
    font-weight: 600;
}

/* Date picker disabled state */
.jc-date-disabled input#date {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
    border-color: #e5e7eb !important;
}
