@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* =====================================================
 * CSS CUSTOM TOKENS & RESET
 * ===================================================== */
:root {
    --idhost-bg-form: rgba(255, 255, 255, 0.85);
    --idhost-glass-border: rgba(255, 255, 255, 0.4);
    --idhost-primary: #3b82f6; /* Indigo / Royal blue */
    --idhost-primary-hover: #1d4ed8;
    --idhost-success: #10b981; /* Emerald */
    --idhost-success-bg: rgba(16, 185, 129, 0.1);
    --idhost-warning: #f59e0b; /* Amber */
    --idhost-warning-bg: rgba(245, 158, 11, 0.1);
    --idhost-danger: #ef4444; /* Crimson */
    --idhost-danger-bg: rgba(239, 68, 68, 0.1);
    --idhost-text-main: #0f172a; /* Slate 900 */
    --idhost-text-muted: #64748b; /* Slate 500 */
    --idhost-card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}

.idhost-form-container,
.idhost-invoice-wrapper,
.idhost-metrics-card,
.idhost-admin-wrap {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--idhost-text-main);
    box-sizing: border-box;
}

.idhost-form-container * ,
.idhost-invoice-wrapper * ,
.idhost-metrics-card * {
    box-sizing: border-box;
}

/* =====================================================
 * SUBMISSION FORM STYLE
 * ===================================================== */
.idhost-form-container {
    max-width: 650px;
    margin: 2rem auto;
    padding: 3rem 2.5rem;
    background: var(--idhost-bg-form);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--idhost-glass-border);
    border-radius: 24px;
    box-shadow: var(--idhost-card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.idhost-form-container:hover {
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.12);
}

.idhost-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.idhost-form-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.idhost-form-header p {
    color: var(--idhost-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.idhost-form-group {
    margin-bottom: 1.5rem;
}

.idhost-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: #334155;
}

.idhost-form-group input[type="text"],
.idhost-form-group input[type="email"],
.idhost-form-group select {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background-color: #ffffff;
    color: var(--idhost-text-main);
    transition: all 0.2s ease-in-out;
    outline: none;
}

.idhost-form-group input:focus,
.idhost-form-group select:focus {
    border-color: var(--idhost-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* GEM Status Card */
.idhost-gem-card {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.idhost-gem-card.gem-country {
    background: rgba(16, 185, 129, 0.06);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
}

.idhost-gem-card.standard-country {
    background: rgba(59, 130, 246, 0.06);
    border: 1.5px solid rgba(59, 130, 246, 0.3);
}

.idhost-gem-card-body h4 {
    margin: 0 0 0.25rem 0;
    font-weight: 700;
    font-size: 1rem;
}

.idhost-gem-card.gem-country h4 {
    color: #047857;
}

.idhost-gem-card.standard-country h4 {
    color: #1d4ed8;
}

.idhost-gem-card-body p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #475569;
}

/* Submit Button & Loader */
.idhost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.idhost-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
}

.idhost-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.3);
    transform: translateY(-1px);
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
    position: absolute;
}

@keyframes spin-loader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alerts */
.idhost-alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.4;
}

.idhost-alert-success {
    background-color: var(--idhost-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.idhost-alert-danger {
    background-color: var(--idhost-danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

/* =====================================================
 * INVOICE PAGE STYLE
 * ===================================================== */
.idhost-invoice-wrapper {
    background: #f8fafc;
    padding: 4rem 1.5rem;
    min-height: 100vh;
}

.idhost-invoice-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    position: relative;
}

.idhost-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.idhost-brand-logo {
    display: flex;
    flex-direction: column;
}

.idhost-brand-logo .logo-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #0f172a;
    letter-spacing: -1px;
}

.idhost-brand-logo .logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--idhost-primary);
    letter-spacing: 2.5px;
}

.idhost-invoice-meta {
    text-align: right;
}

/* Tab Display Rule Override */
.idhost-tab-content {
    display: none;
}
.idhost-tab-content.active {
    display: block !important;
}

.idhost-invoice-meta h2 {
    margin: 0;
    font-weight: 800;
    font-size: 1.5rem;
    color: #64748b;
    letter-spacing: 1px;
}

.invoice-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.25rem 0 0 0;
}

.invoice-date {
    font-size: 0.85rem;
    color: var(--idhost-text-muted);
    margin: 0.25rem 0 0 0;
}

.idhost-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 2.5rem 0;
}

.idhost-invoice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.invoice-col h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--idhost-text-muted);
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.5px;
}

.publisher-title {
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
}

.status-badge-container {
    margin: 0.5rem 0;
}

.payment-date {
    font-size: 0.85rem;
    color: var(--idhost-success);
    margin: 0;
    font-weight: 600;
}

/* Invoice Table */
.idhost-invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
}

.idhost-invoice-table th {
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--idhost-text-muted);
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: 0.5px;
}

.idhost-invoice-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.idhost-invoice-table td p.item-desc {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: var(--idhost-text-muted);
}

.text-right {
    text-align: right !important;
}

.amount-val {
    font-weight: 700;
    font-size: 1.05rem;
}

.table-total-row td {
    border-top: 2px solid #e2e8f0;
    border-bottom: none;
    padding-top: 2rem;
}

.amount-total {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--idhost-primary);
}

/* Payment smart actions */
.idhost-payment-actions {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.payment-instructions h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.payment-instructions p {
    margin: 0 0 2rem 0;
    font-size: 0.9rem;
    color: var(--idhost-text-muted);
}

.paypal-button-wrapper {
    max-width: 350px;
    margin: 0 auto;
}

.idhost-invoice-footer {
    text-align: center;
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 2rem;
}

.receipt-note {
    font-weight: 700;
    color: #065f46;
    margin: 0 0 0.5rem 0;
}

.invoice-support p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--idhost-text-muted);
}

/* Loader Overlay */
.idhost-invoice-loader {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
}

.idhost-invoice-loader .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--idhost-primary);
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
    margin-bottom: 1rem;
}

/* =====================================================
 * METRICS WIDGET STYLE
 * ===================================================== */
.idhost-metrics-card {
    max-width: 420px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.75rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.idhost-metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.metrics-title h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.metrics-subtitle {
    font-size: 0.82rem;
    color: var(--idhost-text-muted);
}

.idhost-metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.idhost-metric-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.metric-icon {
    font-size: 1.3rem;
    float: left;
    margin-right: 1rem;
    line-height: 2.25rem;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--idhost-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.metric-progress-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.metric-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease-in-out;
}

.bar-views { background: #10b981; }
.bar-uptime { background: #3b82f6; }
.bar-speed { background: #f59e0b; }

.idhost-metrics-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--idhost-text-muted);
    margin-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.update-indicator {
    color: var(--idhost-success);
    font-weight: 700;
}

/* =====================================================
 * STATUS BADGES
 * ===================================================== */
.idhost-badge-status {
    display: inline-block;
    padding: 0.35em 0.85em;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.25px;
}

.idhost-status-success {
    background-color: var(--idhost-success-bg);
    color: #065f46;
}

.idhost-status-warning {
    background-color: var(--idhost-warning-bg);
    color: #92400e;
}

.idhost-status-danger {
    background-color: var(--idhost-danger-bg);
    color: #991b1b;
}

.idhost-status-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

/* =====================================================
 * WORDPRESS ADMIN STYLING
 * ===================================================== */
.idhost-admin-wrap {
    margin: 20px 20px 0 0;
}

.idhost-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.idhost-admin-header h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.85rem;
    color: #0f172a;
    margin: 0;
}

.idhost-admin-header .subtitle {
    margin: 5px 0 0 0;
    color: var(--idhost-text-muted);
}

.version-tag {
    background: #cbd5e1;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
}

.idhost-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.kpi-icon {
    font-size: 2rem;
    margin-right: 1.25rem;
}

.kpi-details {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--idhost-text-muted);
    font-weight: 600;
}

.idhost-nav-tabs {
    margin-bottom: 1.5rem;
}

.idhost-tab-content {
    margin-top: 1rem;
}

.idhost-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.idhost-card h3 {
    margin-top: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.idhost-table {
    border-radius: 8px;
    overflow: hidden;
}

.idhost-table thead th {
    font-weight: 700;
    background: #f8fafc;
}

.idhost-table td {
    vertical-align: middle;
}

.row-actions-meta {
    font-size: 0.78rem;
    color: var(--idhost-text-muted);
    margin-top: 4px;
}

/* General classes */
.text-center { text-align: center !important; }
.text-muted { color: var(--idhost-text-muted) !important; }

/* Settings form */
.idhost-settings-table th {
    font-weight: 600;
    width: 250px;
}

.idhost-settings-table input,
.idhost-settings-table textarea,
.idhost-settings-table select {
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    padding: 5px 10px;
}

.settings-actions {
    margin-top: 2rem;
}

/* =====================================================
 * INTERACTIVE ANIMATIONS
 * ===================================================== */
.idhost-pulse {
    animation: borderPulse 1.5s infinite alternate;
}

@keyframes borderPulse {
    0% { border-color: rgba(59, 130, 246, 0.3); }
    100% { border-color: rgba(59, 130, 246, 0.8); }
}

.pulse-dot {
    animation: opacityPulse 1s infinite alternate;
}

@keyframes opacityPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.idhost-verified-badge {
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.idhost-verified-badge:hover {
    transform: translateY(-2px) scale(1.02);
}

/* =====================================================
 * MODAL OVERLAY & POPUP BOX STYLES
 * ===================================================== */
.idhost-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.idhost-modal-box {
    background: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.idhost-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.idhost-modal-header h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.idhost-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--idhost-text-muted);
    line-height: 1;
    padding: 0;
}

.idhost-modal-close:hover {
    color: var(--idhost-danger);
}

.idhost-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}

@media (max-width: 600px) {
    .idhost-modal-grid {
        grid-template-columns: 1fr;
    }
}

.idhost-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
}

.idhost-modal-cancel:hover {
    background: #cbd5e1;
    color: #334155;
}

/* =====================================================
 * FRONTEND PAGES (ABOUT, CONTACT, SUPPORT PORTAL)
 * ===================================================== */
.idhost-about-container,
.idhost-contact-container,
.idhost-support-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: var(--idhost-bg-form);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--idhost-glass-border);
    border-radius: 24px;
    box-shadow: var(--idhost-card-shadow);
}

/* About Page Hero & Layout */
.idhost-about-hero {
    text-align: center;
    margin-bottom: 3rem;
}
.idhost-about-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.idhost-subtitle {
    color: var(--idhost-text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats grid */
.idhost-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.idhost-stat-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease;
}
.idhost-stat-card:hover {
    transform: translateY(-3px);
}
.idhost-stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.idhost-stat-card.gem-eligible .idhost-stat-number {
    color: var(--idhost-success);
}
.idhost-stat-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--idhost-text-muted);
}

/* Features section */
.idhost-features-section {
    margin-bottom: 3rem;
}
.idhost-features-section h3 {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    margin-top: 0;
}
.idhost-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.idhost-feature-card {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.2s ease;
}
.idhost-feature-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}
.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}
.feature-icon.bg-blue { background: rgba(59, 130, 246, 0.1); }
.feature-icon.bg-green { background: rgba(16, 185, 129, 0.1); }
.feature-icon.bg-purple { background: rgba(139, 92, 246, 0.1); }
.feature-icon.bg-orange { background: rgba(249, 115, 22, 0.1); }

.idhost-feature-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin: 0 0 0.5rem 0;
}
.idhost-feature-card p {
    color: var(--idhost-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

/* Eligibility checker card */
.idhost-checker-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}
.checker-header {
    margin-bottom: 1.5rem;
}
.checker-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    margin: 0 0 0.5rem 0;
}
.checker-header p {
    color: var(--idhost-text-muted);
    margin: 0;
    font-size: 0.92rem;
}

/* Form layouts */
.idhost-form-inline {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.idhost-form-inline .idhost-form-group {
    margin-bottom: 0;
}
.flex-grow {
    flex-grow: 1;
}

/* Contact page layout */
.idhost-contact-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}
.idhost-contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}
.info-card h4 {
    margin: 0 0 1rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
}
.info-card p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* Support Portal Tabs */
.idhost-tabs-navigation {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
    gap: 1rem;
}
.idhost-tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--idhost-text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}
.idhost-tab-btn.active {
    color: var(--idhost-primary);
    border-bottom-color: var(--idhost-primary);
}
.idhost-tab-btn:focus {
    outline: none;
}
.idhost-tab-panel {
    display: none;
}
.idhost-tab-panel.active {
    display: block;
}

.access-intro {
    color: var(--idhost-text-muted);
    margin-bottom: 1.5rem;
}

/* Support Ticket Portal Header in check view */
.idhost-ticket-view-header {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}
.idhost-ticket-view-header .title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.idhost-ticket-view-header .title-section h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
}
.ticket-code-label {
    background: var(--idhost-primary);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 8px;
}
.idhost-ticket-view-header .meta-section {
    display: flex;
    gap: 2rem;
    font-size: 0.88rem;
    color: var(--idhost-text-muted);
    flex-wrap: wrap;
}

/* Chat timeline */
.idhost-ticket-timeline {
    max-height: 400px;
    overflow-y: auto;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Chat Bubbles */
.chat-bubble-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 75%;
}
.chat-bubble-wrapper.user {
    align-self: flex-end;
}
.chat-bubble-wrapper.admin {
    align-self: flex-start;
}
.chat-meta {
    font-size: 0.72rem;
    color: var(--idhost-text-muted);
    margin-bottom: 3px;
    padding: 0 4px;
}
.chat-bubble-wrapper.user .chat-meta {
    text-align: right;
}
.chat-bubble {
    padding: 0.9rem 1.25rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}
.chat-bubble-wrapper.user .chat-bubble {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}
.chat-bubble-wrapper.admin .chat-bubble {
    background: #f1f5f9;
    color: var(--idhost-text-main);
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Admin Chat Window */
.idhost-admin-chat-window .chat-bubble-wrapper {
    max-width: 85%;
}

/* Form grid formatting helper */
.idhost-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .idhost-contact-layout,
    .idhost-form-row {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
 * ENRICHED FRONTEND ABOUT PAGE ADDITIONS
 * ===================================================== */
.idhost-coverage-section,
.idhost-directory-section {
    margin-bottom: 3rem;
}
.idhost-coverage-section h3,
.idhost-directory-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--idhost-text-main);
}

/* Country distribution capsules */
.idhost-country-capsules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.country-capsule {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}
.country-capsule:hover {
    transform: translateY(-1px);
    border-color: var(--idhost-primary);
}
.country-capsule .badge {
    background: var(--idhost-primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Directory listing grid */
.idhost-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.idhost-journal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}
.idhost-journal-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.journal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}
.journal-card-header h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin: 0;
    color: var(--idhost-text-main);
    line-height: 1.3;
}
.gem-badge-mini {
    background: var(--idhost-success-bg);
    color: #047857;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}
.journal-card-body p {
    margin: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--idhost-text-muted);
}
.journal-card-body p strong {
    color: #475569;
}
.journal-card-footer {
    margin-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    display: flex;
    justify-content: flex-end;
}
.idhost-btn-mini {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.15);
    transition: all 0.2s ease;
}
.idhost-btn-mini:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
    color: #ffffff;
}
.status-activation-pending {
    font-size: 0.82rem;
    font-weight: 700;
    color: #92400e;
    background: var(--idhost-warning-bg);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
}

/* Environment Diagnostics Styling */
.idhost-diagnostics-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--idhost-card-shadow);
}
.idhost-diagnostic-table tr:hover {
    background-color: #f1f5f9 !important;
}
.idhost-diagnostic-table td {
    border: none;
    color: var(--idhost-text-main);
    transition: background-color 0.2s ease;
}

/* =====================================================
 * COMPREHENSIVE MOBILE RESPONSIVENESS (MOBILE-FRIENDLY THEME)
 * ===================================================== */
@media (max-width: 768px) {
    /* Admin General Wrap & Brand header */
    .idhost-admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 20px;
    }
    
    .idhost-admin-header h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    /* Navigation Tab Wrap */
    .idhost-nav-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        border-bottom: none !important;
        margin-bottom: 25px;
    }
    
    .idhost-nav-tabs .nav-tab {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
        margin: 0 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        background: #f8fafc;
    }
    
    .idhost-nav-tabs .nav-tab-active {
        background: var(--idhost-primary) !important;
        color: #ffffff !important;
        border-color: var(--idhost-primary) !important;
    }
    
    /* Financial Recap subpanel */
    .idhost-recap-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .idhost-recap-panel > div {
        border-bottom: 1px dashed #cbd5e1;
        padding-bottom: 8px;
    }
    
    .idhost-recap-panel > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    /* KPI grids stacking */
    .idhost-kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    /* Tables overflow scrolling helper for all tables */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
    }
    
    /* Table cells adjustments */
    .idhost-table th, 
    .idhost-table td {
        padding: 8px 12px;
        font-size: 13px;
        min-width: 120px; /* Prevent total squeezing */
    }
    
    /* Tools & Logs dynamic split column layouts */
    #idhost-tab-tools-logs > div {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Modals adjustments */
    .idhost-modal-box {
        width: 95% !important;
        max-width: 95% !important;
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .idhost-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .idhost-form-group [style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }
    
    /* Support Chat dialog windows */
    .idhost-admin-chat-window, 
    .idhost-ticket-timeline {
        max-height: 300px;
        padding: 10px;
    }
    
    .chat-bubble-wrapper {
        max-width: 90% !important;
    }
}

@media (max-width: 480px) {
    .idhost-kpi-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .idhost-nav-tabs .nav-tab {
        flex: 1 1 100%;
    }
    
    .idhost-form-container {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .idhost-form-header h2 {
        font-size: 1.75rem;
    }
    
    .idhost-about-hero h1 {
        font-size: 2rem;
    }
    
    .idhost-stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Invoice details grid */
    .idhost-invoice-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    .idhost-invoice-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .idhost-invoice-meta {
        text-align: left;
    }
    
    .idhost-invoice-container {
        padding: 2rem 1.5rem;
    }
}

/* Custom Hosting Hosting Plans Grid styling */
.idhost-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.idhost-plan-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.idhost-plan-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.idhost-plan-card.active {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.idhost-plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 9999px;
    background: #f1f5f9;
    color: #475569;
}

.idhost-plan-badge.standard {
    background: #dbeafe;
    color: #1e40af;
}

.idhost-plan-badge.premium {
    background: #faf5ff;
    color: #6b21a8;
}

.idhost-plan-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem 0;
    color: #1e293b;
}

.idhost-plan-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.idhost-plan-price span.price-val {
    font-size: 1.8rem;
}

.idhost-plan-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Pricing summary card aesthetics */
.idhost-pricing-summary-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.idhost-pricing-summary-card h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pricing-row {
    animation: fadeInRow 0.3s ease forwards;
}


@keyframes fadeInRow {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
 * GEM COUNTRY CHECKER — igc-*
 * ===================================================== */
.idhost-gem-checker-wrap {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
}

/* Hero */
.igc-hero {
    text-align: center;
    padding: 5rem 2rem 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0f172a 100%);
    border-radius: 28px;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}
.igc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.igc-hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.igc-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.2rem;
    line-height: 1.15;
}
.igc-gradient-text {
    background: linear-gradient(90deg, #34d399, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.igc-hero-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Hero stats strip */
.igc-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 1.5rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.igc-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    flex: 1;
    min-width: 100px;
}
.igc-stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.igc-stat-lbl {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.igc-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}

/* Checker card */
.igc-checker-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 40px rgba(15,23,42,0.06);
}
.igc-checker-header {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
.igc-checker-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 14px;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.igc-checker-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 5px;
    color: #0f172a;
}
.igc-checker-desc { font-size: 0.9rem; color: #64748b; margin: 0; }

.igc-select-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.igc-select-wrap {
    position: relative;
    flex: 1;
    min-width: 260px;
}
.igc-select-globe {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}
.igc-country-select {
    width: 100%;
    padding: 1rem 1.2rem 1rem 3rem;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    appearance: none;
    transition: border-color 0.2s;
    cursor: pointer;
}
.igc-country-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.igc-check-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.igc-check-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}
.igc-btn-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.igc-check-btn:hover .igc-btn-arrow { transform: translateX(4px); }

/* Result cards */
.igc-result { margin-top: 1.8rem; border-radius: 18px; overflow: hidden; }
.igc-result-gem {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 2px solid #6ee7b7;
}
.igc-result-standard {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 2px solid #93c5fd;
}
.igc-result-inner { padding: 2rem; }
.igc-result-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.igc-badge-gem { background: #059669; color: #fff; }
.igc-badge-standard { background: #2563eb; color: #fff; }
.igc-result-country {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #0f172a;
}
.igc-result-msg { color: #475569; font-size: 0.95rem; margin: 0 0 1.5rem; }
.igc-result-fees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 1.5rem;
}
.igc-fee-item {
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(255,255,255,0.8);
}
.igc-fee-waived { border-color: rgba(110,231,183,0.5); }
.igc-fee-highlight { border-color: #93c5fd; background: rgba(219,234,254,0.5); }
.igc-fee-lbl { font-size: 0.75rem; font-weight: 600; color: #64748b; text-transform: uppercase; }
.igc-fee-val { font-size: 1rem; font-weight: 700; color: #0f172a; }
.igc-fee-free { color: #059669; }
.igc-result-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #059669;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}
.igc-result-cta:hover { background: #047857; transform: translateY(-2px); color: #fff; }
.igc-cta-standard { background: #2563eb; }
.igc-cta-standard:hover { background: #1d4ed8; }

/* Section layout */
.igc-section { margin-bottom: 3.5rem; }
.igc-section-header { text-align: center; margin-bottom: 2rem; }
.igc-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem;
}
.igc-section-subtitle { color: #64748b; font-size: 1rem; margin: 0; }

/* Steps grid */
.igc-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.igc-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.8rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.igc-step-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(15,23,42,0.07); }
.igc-step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.igc-step-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.igc-step-title { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: #0f172a; }
.igc-step-desc { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin: 0; }

/* Country table search */
.igc-table-search-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.igc-country-filter {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: border-color 0.2s;
    background: #f8fafc;
}
.igc-country-filter:focus { outline: none; border-color: #3b82f6; background: #fff; }
.igc-table-count { font-size: 0.85rem; color: #94a3b8; font-weight: 600; white-space: nowrap; }

/* Countries grid */
.igc-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.igc-country-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.2s;
    cursor: default;
}
.igc-country-chip:hover {
    border-color: #6ee7b7;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.1);
}
.igc-chip-flag { font-size: 1.4rem; flex-shrink: 0; }
.igc-chip-name { font-size: 0.82rem; font-weight: 600; color: #334155; flex: 1; }
.igc-chip-free {
    font-size: 0.62rem;
    font-weight: 800;
    color: #059669;
    background: #d1fae5;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

/* CTA Banner */
.igc-cta-banner {
    background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
}
.igc-cta-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.igc-cta-icon { font-size: 3rem; flex-shrink: 0; }
.igc-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.4rem;
}
.igc-cta-desc { color: #94a3b8; font-size: 0.95rem; margin: 0; }
.igc-cta-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.igc-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(5,150,105,0.35); color: #fff; }

/* =====================================================
 * FAQ PAGE — ifaq-*
 * ===================================================== */
.idhost-faq-wrap {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
}

/* FAQ Hero */
.ifaq-hero {
    text-align: center;
    padding: 4rem 2rem 3.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}
.ifaq-hero::after {
    content: '❓';
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8rem;
    opacity: 0.05;
    pointer-events: none;
}
.ifaq-hero-badge {
    display: inline-block;
    background: rgba(148,163,184,0.12);
    border: 1px solid rgba(148,163,184,0.2);
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.ifaq-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.ifaq-hero-subtitle { color: #94a3b8; font-size: 1rem; max-width: 600px; margin: 0 auto 2rem; line-height: 1.6; }

/* FAQ Search */
.ifaq-search-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}
.ifaq-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}
.ifaq-search {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.2rem;
    font-size: 0.97rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    box-sizing: border-box;
}
.ifaq-search::placeholder { color: rgba(255,255,255,0.45); }
.ifaq-search:focus {
    outline: none;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.4);
}

/* Layout */
.ifaq-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 768px) {
    .ifaq-layout { grid-template-columns: 1fr; }
    .ifaq-sidebar { display: flex; gap: 8px; flex-wrap: wrap; }
    .ifaq-sidebar-links { display: none; }
}

/* Sidebar */
.ifaq-sidebar { position: sticky; top: 80px; }
.ifaq-cat-nav {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}
.ifaq-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #64748b;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    width: 100%;
}
.ifaq-cat-btn:hover { background: #f1f5f9; color: #0f172a; }
.ifaq-cat-btn.active { background: #eff6ff; color: #1d4ed8; }
.ifaq-cat-count {
    margin-left: auto;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 999px;
    min-width: 22px;
    text-align: center;
}
.ifaq-cat-btn.active .ifaq-cat-count { background: #dbeafe; color: #1d4ed8; }

/* Sidebar links */
.ifaq-sidebar-links {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 2px 12px rgba(15,23,42,0.04);
}
.ifaq-sidebar-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #94a3b8;
    margin: 0 0 0.8rem;
}
.ifaq-sidebar-links a {
    display: block;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.15s;
}
.ifaq-sidebar-links a:last-child { border-bottom: none; }
.ifaq-sidebar-links a:hover { color: #2563eb; }

/* Main area */
.ifaq-main { min-width: 0; }

/* Group header */
.ifaq-group { margin-bottom: 2rem; }
.ifaq-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}
.ifaq-group-icon { font-size: 1.3rem; }
.ifaq-group-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    flex: 1;
}
.ifaq-group-count {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Accordion item */
.ifaq-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.ifaq-item-open { box-shadow: 0 4px 20px rgba(37,99,235,0.08); border-color: #bfdbfe; }

.ifaq-q-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.1rem 1.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.15s;
}
.ifaq-q-btn:hover { background: #f8fafc; }
.ifaq-item-open .ifaq-q-btn { background: #eff6ff; }

.ifaq-q-icon {
    width: 26px; height: 26px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ifaq-item-open .ifaq-q-icon { background: #2563eb; color: #fff; }

.ifaq-q-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}
.ifaq-q-arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.ifaq-item-open .ifaq-q-arrow { transform: rotate(180deg); color: #2563eb; }

/* Answer panel */
.ifaq-a-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.ifaq-a-inner {
    padding: 0 1.4rem 1.4rem 3.4rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.75;
}
.ifaq-a-inner a { color: #2563eb; font-weight: 600; }
.ifaq-a-inner a:hover { color: #1d4ed8; }
.ifaq-a-inner code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.85rem;
    color: #0f172a;
}
.ifaq-a-inner strong { color: #0f172a; }

/* No results */
.ifaq-no-results {
    text-align: center;
    padding: 3rem;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px dashed #e2e8f0;
}
.ifaq-no-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.ifaq-no-results p { color: #64748b; font-size: 0.95rem; margin: 0 0 1rem; }
.ifaq-clear-btn {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s;
}
.ifaq-clear-btn:hover { border-color: #3b82f6; color: #2563eb; background: #eff6ff; }

/* FAQ CTA footer */
.ifaq-cta-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}
.ifaq-cta-inner { max-width: 500px; margin: 0 auto; }
.ifaq-cta-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin: 0 0 0.5rem; }
.ifaq-cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.5rem;
}
.ifaq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}
.ifaq-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(37,99,235,0.35); color: #fff; }

/* Responsive tweaks */
@media (max-width: 600px) {
    .igc-hero { padding: 3rem 1.2rem 2.5rem; }
    .igc-hero-stats { flex-direction: column; gap: 1.2rem; }
    .igc-stat-divider { width: 60px; height: 1px; }
    .igc-cta-content { flex-direction: column; text-align: center; }
    .igc-cta-btn { margin-left: 0; }
    .igc-checker-card { padding: 1.5rem; }
}

/* =====================================================
 * PUBLISHER PORTAL DASHBOARD — portal-*
 * ===================================================== */
.idhost-portal-wrapper {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1e293b;
}

/* Login Card */
.idhost-portal-card.login-card {
    max-width: 450px;
    margin: 4rem auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}
.login-logo {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #2563eb;
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.login-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0f172a;
}
.login-header p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.portal-login-btn {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}
.portal-login-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

/* Dashboard Layout */
.idhost-portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.portal-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    display: block;
}
#portal-header-journal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.portal-logout-btn {
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.portal-logout-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

/* KPIs */
.portal-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.portal-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.portal-kpi-card .kpi-icon {
    font-size: 1.8rem;
}
.portal-kpi-card .kpi-info {
    display: flex;
    flex-direction: column;
}
.portal-kpi-card .kpi-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}
.portal-kpi-card .kpi-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

/* Main Grid */
.portal-main-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 768px) {
    .portal-main-layout {
        grid-template-columns: 1fr;
    }
}
.portal-tabs-nav {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.portal-tab-btn {
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}
.portal-tab-btn:hover {
    background: #f8fafc;
}
.portal-tab-btn.active {
    background: #eff6ff;
    color: #2563eb;
}

.portal-content-area {
    min-width: 0;
}
.portal-tab-content {
    display: none;
}
.portal-tab-content.active {
    display: block;
}
.portal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.portal-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
}

/* Timeline */
.portal-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
.portal-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}
.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}
.timeline-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: all 0.3s;
}
.timeline-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    max-width: 120px;
    margin: 0 auto;
}
.timeline-step.completed .timeline-bubble {
    border-color: #10b981;
    background: #10b981;
    color: #ffffff;
}
.timeline-step.completed .timeline-label {
    color: #10b981;
}
.timeline-step.active-step .timeline-bubble {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
}
.timeline-step.active-step .timeline-label {
    color: #2563eb;
    font-weight: 700;
}

/* Tables */
.portal-table {
    width: 100%;
    border-collapse: collapse;
}
.portal-table th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 14px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}
.portal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
    color: #334155;
}
.kpi-badge-success {
    background: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}
.kpi-badge-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}