/**
 * EU VAT Guard Admin UI Styles
 * Standardized styling for admin pages
 */

/* Page Header */
.vat-guard-page-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.vat-guard-icon {
    font-size: 2rem;
    line-height: 1;
}

/* Generic content card */
.vat-guard-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 28px;
    margin: 20px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.vat-guard-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #1a2f4a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vat-guard-card p:last-child,
.vat-guard-card ul:last-child {
    margin-bottom: 0;
}

/* Highlighted card variant (blue border top) */
.vat-guard-card-highlight {
    border-top: 3px solid #2271b1;
    text-align: center;
}

/* Info Boxes */
.vat-guard-box {
    padding: 20px 24px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.vat-guard-box-success {
    background: #e7f7e7;
    border-color: #46b450;
}

.vat-guard-box-info {
    background: #e8f4fd;
    border-color: #2271b1;
}

.vat-guard-box-warning {
    background: #fff3cd;
    border-color: #ffc107;
}

.vat-guard-box-danger {
    background: #f8d7da;
    border-color: #dc3545;
}

.vat-guard-box-neutral {
    background: #f9f9f9;
    border-color: #ddd;
}

.vat-guard-box-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1em;
}

.vat-guard-box-content {
    line-height: 1.6;
}

.vat-guard-box-content p:last-child,
.vat-guard-box-content ul:last-child {
    margin-bottom: 0;
}

/* Section Headers */
.vat-guard-section-title {
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

/* Support Banner */
.vat-guard-support-banner {
    background: #e7f7e7;
    border-left: 4px solid #46b450;
    padding: 16px 24px;
    margin: 24px 0 32px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.vat-guard-support-link {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
    margin: 0 4px;
}

.vat-guard-support-link:hover {
    text-decoration: underline;
}

.vat-guard-separator {
    margin: 0 4px;
}

/* Status Badges */
.vat-guard-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
}

.vat-guard-status-success {
    color: #46b450;
    background: #e7f7e7;
}

.vat-guard-status-error {
    color: #dc3232;
    background: #f8d7da;
}

.vat-guard-status-warning {
    color: #996800;
    background: #fff3cd;
}

.vat-guard-status-neutral {
    color: #666;
    background: #f0f0f0;
}

.vat-guard-status-icon {
    font-size: 1.1em;
    line-height: 1;
}

/* Feature Lists */
.vat-guard-feature-list {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.vat-guard-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.vat-guard-feature-icon {
    color: #46b450;
    font-weight: bold;
    flex-shrink: 0;
}

/* Action Buttons */
.vat-guard-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

/* Statistics Table */
.vat-guard-stats-table {
    margin: 20px 0;
}

.vat-guard-stat-label {
    width: 60%;
}

.vat-guard-stat-value {
    width: 40%;
}

/* Collapsible Sections */
.vat-guard-collapsible {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
    background: #fff;
}

.vat-guard-collapsible-title {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    user-select: none;
    background: #f9f9f9;
    border-radius: 4px 4px 0 0;
}

.vat-guard-collapsible-title:hover {
    background: #f0f0f0;
}

.vat-guard-collapsible[open] .vat-guard-collapsible-title {
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
}

.vat-guard-collapsible-content {
    padding: 20px;
}

/* Pro Promo Banner */
.vat-guard-pro-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #1a2f4a 0%, #2271b1 100%);
    border-radius: 6px;
    padding: 16px 24px;
    margin: 20px 0 0 0;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.25);
}

.vat-guard-pro-banner-text {
    font-size: 0.97em;
    font-weight: 500;
    color: #fff;
    flex: 1;
    min-width: 200px;
    line-height: 1.5;
}

.vat-guard-pro-banner-text strong {
    color: #ffd166;
}

.vat-guard-pro-banner-btn {
    display: inline-block;
    background: #f0a500;
    color: #fff;
    font-weight: 700;
    font-size: 0.92em;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.vat-guard-pro-banner-btn:hover {
    background: #d4900a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Go Pro nav tab */
.nav-tab.vat-guard-tab-pro {
    color: #b45309;
    font-weight: 700;
}

.nav-tab.vat-guard-tab-pro.nav-tab-active {
    color: #92400e;
    border-bottom-color: #f0a500;
}

/* Go Pro page */
.vat-guard-pro-page {
    max-width: 860px;
}

.vat-guard-pro-hero {
    background: linear-gradient(135deg, #1a2f4a 0%, #2271b1 100%);
    border-radius: 10px;
    padding: 44px 40px;
    margin: 24px 0 36px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(34, 113, 177, 0.3);
}

.vat-guard-pro-hero::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.vat-guard-pro-hero-badge {
    display: inline-block;
    background: rgba(240, 165, 0, 0.2);
    color: #ffd166;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(240, 165, 0, 0.4);
    margin-bottom: 16px;
}

.vat-guard-pro-hero-title {
    margin: 0 0 14px 0;
    font-size: 2em;
    color: #fff;
    line-height: 1.2;
}

.vat-guard-pro-hero-subtitle {
    margin: 0 0 30px 0;
    font-size: 1.05em;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
}

.vat-guard-pro-cta-btn {
    display: inline-block;
    background: #f0a500;
    color: #fff;
    font-weight: 700;
    font-size: 1em;
    padding: 13px 30px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(240, 165, 0, 0.4);
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.vat-guard-pro-cta-btn:hover {
    background: #d4900a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(240, 165, 0, 0.45);
}

.vat-guard-pro-features-heading {
    font-size: 1.15em;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1a2f4a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vat-guard-pro-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.vat-guard-pro-feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #ddd;
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.15s;
}

.vat-guard-pro-feature-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Individual card accent colours */
.vat-guard-pro-feature-card:nth-child(1) { border-top-color: #f0a500; }
.vat-guard-pro-feature-card:nth-child(2) { border-top-color: #2271b1; }
.vat-guard-pro-feature-card:nth-child(3) { border-top-color: #2ecc71; }
.vat-guard-pro-feature-card:nth-child(4) { border-top-color: #9b59b6; }
.vat-guard-pro-feature-card:nth-child(5) { border-top-color: #e74c3c; }
.vat-guard-pro-feature-card:nth-child(6) { border-top-color: #1abc9c; }

.vat-guard-pro-feature-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1.4em;
    line-height: 1;
}

.vat-guard-pro-feature-card:nth-child(1) .vat-guard-pro-feature-icon-wrap { background: #fff8e6; }
.vat-guard-pro-feature-card:nth-child(2) .vat-guard-pro-feature-icon-wrap { background: #e8f0fb; }
.vat-guard-pro-feature-card:nth-child(3) .vat-guard-pro-feature-icon-wrap { background: #e8f8ee; }
.vat-guard-pro-feature-card:nth-child(4) .vat-guard-pro-feature-icon-wrap { background: #f4edfb; }
.vat-guard-pro-feature-card:nth-child(5) .vat-guard-pro-feature-icon-wrap { background: #fdecea; }
.vat-guard-pro-feature-card:nth-child(6) .vat-guard-pro-feature-icon-wrap { background: #e8f8f5; }

.vat-guard-pro-feature-title {
    margin: 0 0 8px 0;
    font-size: 1em;
    font-weight: 700;
    color: #1a2f4a;
}

.vat-guard-pro-feature-desc {
    margin: 0;
    color: #64748b;
    font-size: 0.92em;
    line-height: 1.65;
}

.vat-guard-pro-cta-bottom {
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fb 100%);
    border: 1px solid #c5d9f0;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.08);
}

.vat-guard-pro-cta-bottom p {
    font-size: 1.1em;
    margin: 0 0 20px 0;
    color: #1a2f4a;
    font-weight: 600;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .vat-guard-page-title {
        font-size: 1.5em;
    }
    
    .vat-guard-icon {
        font-size: 1.5rem;
    }
    
    .vat-guard-box {
        padding: 15px 18px;
    }
    
    .vat-guard-support-banner {
        padding: 12px 18px;
        font-size: 1em;
    }
    
    .vat-guard-action-buttons {
        flex-direction: column;
    }
    
    .vat-guard-action-buttons .button {
        width: 100%;
    }

    .vat-guard-pro-features-grid {
        grid-template-columns: 1fr;
    }

    .vat-guard-pro-hero {
        padding: 28px 20px;
    }

    .vat-guard-pro-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
