/* Essential Tools Styling */

.ct-essential-tools {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Export/Import */
.ct-export-import-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-button-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-format-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.ct-format-list li {
    padding: 8px;
    background: var(--ct-bg-dark);
    border-left: 3px solid var(--ct-accent-blue);
    border-radius: 4px;
}

.ct-format-list strong {
    color: var(--ct-accent-blue);
}

/* Tax View */
.ct-tax-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-warning-box {
    padding: 12px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid var(--ct-accent-yellow);
    border-radius: 8px;
    font-size: 11px;
    color: var(--ct-text-secondary);
    line-height: 1.4;
}

.ct-tax-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.ct-tax-table tr {
    border-bottom: 1px solid var(--ct-border);
}

.ct-tax-table td {
    padding: 10px 0;
}

.ct-tax-table td:first-child {
    color: var(--ct-text-secondary);
}

.ct-tax-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.ct-table-highlight {
    background: var(--ct-border);
}

.ct-year-reports {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.ct-year-card {
    padding: 12px;
    background: var(--ct-bg-dark);
    border: 1px solid var(--ct-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-year-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ct-accent-blue);
}

.ct-year-stat {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.ct-year-stat span:first-child {
    color: var(--ct-text-secondary);
}

/* Correlation View */
.ct-correlation-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-score-display {
    padding: 16px;
    background: var(--ct-bg-dark);
    border-radius: 8px;
    text-align: center;
}

.ct-score-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--ct-accent-blue);
    margin-bottom: 12px;
}

.ct-score-bar {
    width: 100%;
    height: 12px;
    background: var(--ct-border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.ct-score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ct-accent-red), var(--ct-accent-yellow), var(--ct-accent-green));
    transition: width 0.3s ease;
}

.ct-score-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ct-text-primary);
}

.ct-correlation-guide {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
}

.ct-correlation-guide li {
    padding: 8px;
    background: var(--ct-bg-dark);
    border-left: 3px solid var(--ct-accent-blue);
    border-radius: 4px;
}

.ct-correlation-guide strong {
    color: var(--ct-accent-blue);
}

.ct-btn-secondary {
    padding: 8px 12px;
    border: 1px solid var(--ct-border);
    background: transparent;
    color: var(--ct-accent-blue);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s;
}

.ct-btn-secondary:hover {
    background: var(--ct-border);
    border-color: var(--ct-accent-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .ct-year-reports {
        grid-template-columns: 1fr 1fr;
    }

    .ct-tax-table {
        font-size: 10px;
    }

    .ct-tax-table td {
        padding: 6px 0;
    }
}