/**
 * Tax Information Plugin Styles
 * Premium Elementor Widget Card Design matching reference mockup
 */

.tax-info-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 33, 71, 0.06);
    border: 1px solid #e9ecef;
    max-width: 580px;
    margin: 0 auto;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #0f2147;
    box-sizing: border-box;
}

.tax-info-card * {
    box-sizing: border-box;
}

/* Header Section */
.tax-info-header {
    background-color: #f3f5f8;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6e9f0;
}

.tax-info-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tax-info-header-icon {
    width: 24px;
    height: 24px;
    color: #0f2147;
    flex-shrink: 0;
}

.tax-info-header-text {
    font-size: 15px;
    font-weight: 800;
    color: #0f2147;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.tax-info-header-date {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

/* Month Datepicker Field in Header */
.tax-info-month-filter {
    display: inline-flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.tax-info-month-click-capture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.tax-info-month-input {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    background-color: #ffffff;
    color: #0f2147;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    cursor: pointer;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: auto;
    min-width: 140px;
    max-width: 180px;
    height: 38px;
    box-sizing: border-box;
}

.tax-info-month-input:hover {
    border-color: #94a3b8;
}

.tax-info-month-input:focus {
    border-color: #0f2147;
    box-shadow: 0 0 0 3px rgba(15, 33, 71, 0.12);
}

.tax-info-month-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s ease;
}

.tax-info-month-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Body & List Section */
.tax-info-body {
    padding: 0;
}

.tax-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #eef1f6;
    transition: background-color 0.2s ease;
}

.tax-info-row:last-child {
    border-bottom: none;
}

.tax-info-row:hover {
    background-color: #fafbfc;
}

.tax-info-left {
    flex: 1;
    padding-right: 16px;
}

.tax-info-item-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f2147;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.tax-info-item-date {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    margin: 0;
}

/* Badge Countdown Box */
.tax-info-right {
    flex-shrink: 0;
}

.tax-info-badge {
    background-color: #f0f3f7;
    border-radius: 14px;
    padding: 12px 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tax-info-badge-number {
    font-size: 26px;
    font-weight: 800;
    color: #0f2147;
    line-height: 1;
    margin: 0;
}

.tax-info-badge-today-text {
    font-size: 15px;
    font-weight: 800;
    color: #0f2147;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
}

.tax-info-badge-label {
    font-size: 10px;
    font-weight: 700;
    color: #526078;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Badge States: Past & Today */
.tax-info-badge.is-past {
    background-color: #f1f3f6;
}

.tax-info-badge.is-past .tax-info-badge-number {
    color: #8b98a9;
}

.tax-info-badge.is-past .tax-info-badge-label {
    color: #94a3b8;
}

.tax-info-badge.is-today {
    background-color: #e6f4ea;
}

.tax-info-badge.is-today .tax-info-badge-today-text {
    color: #137333;
}

/* Footer Disclaimer Section */
.tax-info-footer {
    background-color: #f3f5f8;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #e6e9f0;
}

.tax-info-footer-icon {
    width: 22px;
    height: 22px;
    color: #94a3b8;
    flex-shrink: 0;
}

.tax-info-footer-text {
    font-size: 13px;
    line-height: 1.45;
    font-style: italic;
    color: #526078;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .tax-info-header {
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .tax-info-month-input {
        max-width: 150px;
        font-size: 12px;
        padding: 6px 8px;
    }

    .tax-info-row {
        padding: 18px 16px;
    }

    .tax-info-footer {
        padding: 14px 16px;
    }

    .tax-info-badge {
        padding: 10px 14px;
        min-width: 80px;
    }

    .tax-info-badge-number {
        font-size: 22px;
    }
    
    .tax-info-item-title {
        font-size: 15px;
    }
}

