/**
 * Additional Tax Extension Styles
 * 
 * @package EasyInvoicePro
 * @since 1.0.0
 */

/* Additional Tax Fields Styling */
.additional-tax-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.additional-tax-section h4 {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Additional Tax Row in Totals */
.additional-tax-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.additional-tax-label {
    font-weight: 500;
    color: #374151;
}

.additional-tax-amount {
    font-weight: 600;
    color: #1f2937;
}

/* Additional Tax Settings */
.additional-tax-settings {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 1rem;
}

.additional-tax-settings h5 {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Additional Tax Calculation Method */
.additional-tax-calculation-method {
    margin-top: 0.75rem;
}

.additional-tax-calculation-method select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background-color: white;
}

/* Additional Tax Rate Input */
.additional-tax-rate-input {
    position: relative;
}

.additional-tax-rate-input input {
    padding-right: 2rem;
}

.additional-tax-rate-input::after {
    content: '%';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

/* Additional Tax Name Input */
.additional-tax-name-input input {
    font-style: italic;
    color: #6b7280;
}

/* Additional Tax Toggle */
.additional-tax-toggle {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.additional-tax-toggle input[type="checkbox"] {
    margin-right: 0.5rem;
}

.additional-tax-toggle label {
    font-weight: 500;
    color: #374151;
}

/* Additional Tax Help Text */
.additional-tax-help {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Additional Tax Examples */
.additional-tax-examples {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.additional-tax-examples h6 {
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.additional-tax-examples ul {
    margin: 0;
    padding-left: 1rem;
}

.additional-tax-examples li {
    font-size: 0.75rem;
    color: #0369a1;
    margin-bottom: 0.25rem;
}

/* Additional Tax Preview */
.additional-tax-preview {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.additional-tax-preview h6 {
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.additional-tax-preview .calculation-example {
    font-size: 0.75rem;
    color: #92400e;
    font-family: monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .additional-tax-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .additional-tax-amount {
        align-self: flex-end;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .additional-tax-section {
        border-top-color: #374151;
    }
    
    .additional-tax-section h4 {
        color: #d1d5db;
    }
    
    .additional-tax-label {
        color: #d1d5db;
    }
    
    .additional-tax-amount {
        color: #f9fafb;
    }
    
    .additional-tax-settings {
        background-color: #1f2937;
        border-color: #374151;
    }
    
    .additional-tax-settings h5 {
        color: #d1d5db;
    }
    
    .additional-tax-toggle label {
        color: #d1d5db;
    }
} 