/* ===== PAGE-SPECIFIC STYLES ===== */

/* Core Layout & Hidden States */
.hidden { display: none !important; }
#sidebar.hidden { display: none !important; }
#header.hidden { display: none !important; }

#main-layout {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    overflow: hidden;
}
#main-layout.full-width {
    width: 100%;
}

/* Global Top Header */
#header {
    height: 56px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.header-left {
    display: flex;
    align-items: center;
}

#page-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Dropdown Selector */
.lang-selector-container {
    position: relative;
}

.header-btn {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.header-btn:hover {
    background: var(--bg-hover);
    border-color: var(--text-secondary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 260px;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    animation: dropIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropIn {
    from { transform: translateY(-8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dropdown-search {
    padding: 10px;
    background: var(--bg-input);
    border-bottom: 1px solid var(--border-light);
}

.dropdown-search input {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-family: inherit;
    background: var(--bg-card);
    outline: none;
}

.dropdown-options {
    overflow-y: auto;
    flex: 1;
    padding: 4px 0;
}

.dropdown-option {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: 12.5px;
    color: var(--text-primary);
}

.dropdown-option:hover {
    background: var(--bg-hover);
}

.dropdown-option.selected {
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-weight: 600;
}

/* Badges & Credits styling */
.credits-badge {
    background: var(--primary-lighter);
    color: var(--primary);
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    border: 1px solid rgba(26,54,93,0.06);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.credits-badge:hover {
    background: var(--primary-light);
    color: var(--text-inverse);
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.12);
}

.credits-badge:active {
    transform: scale(0.97);
}

.badge-free {
    background: #e2e8f0;
    color: #475569;
}

.badge-pro {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--text-inverse);
    box-shadow: 0 2px 4px rgba(230,126,34,0.2);
}

/* Sidebar separators & specialized New Wizard */
.sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 16px;
}

.nav-item-wizard {
    background: rgba(230, 126, 34, 0.08);
    color: var(--accent) !important;
    font-weight: 700 !important;
    border: 1px dashed rgba(230,126,34,0.3);
}

.nav-item-wizard:hover {
    background: rgba(230, 126, 34, 0.14) !important;
    color: var(--accent-light) !important;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.15);
}

/* Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.recent-projects-list { display: flex; flex-direction: column; gap: 8px; }
.recent-project-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-input);
    cursor: pointer;
    transition: background var(--transition-fast);
}
.recent-project-item:hover { background: var(--bg-hover); }
.recent-project-name { font-weight: 600; font-size: 13px; }
.recent-project-stats { font-size: 12px; color: var(--text-muted); }

/* Projects Page */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.project-card {
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.project-card-header {
    padding: 20px 20px 14px;
    border-bottom: 1px solid var(--border-light);
}
.project-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.project-card-desc {
    font-size: 12px;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.project-card-body { padding: 14px 20px; }
.project-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}
.project-stat-num { font-size: 18px; font-weight: 700; color: var(--primary); }
.project-stat-label { font-size: 11px; color: var(--text-muted); }
.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: var(--bg-input);
    font-size: 12px;
    color: var(--text-muted);
}

/* Project Detail */
.project-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}
.project-detail-actions { display: flex; gap: 8px; }
.sites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}
.sites-search {
    flex: 1;
    max-width: 320px;
    position: relative;
}
.sites-search input { padding-left: 34px; }
.sites-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.sites-filters { display: flex; gap: 8px; }

/* Profiles Page */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}
.profile-card { cursor: pointer; }
.profile-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-lighter);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.profile-card-info h3 { font-size: 15px; font-weight: 600; }
.profile-card-info p { font-size: 12px; color: var(--text-secondary); }
.profile-services-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

/* Settings Pages */
.settings-section { margin-bottom: 28px; }
.settings-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    background: var(--bg-card);
}
.settings-row-label { font-weight: 500; }
.settings-row-value { font-size: 13px; color: var(--text-secondary); }

/* SMTP Cards */
.smtp-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    background: var(--bg-card);
    transition: border-color var(--transition-fast);
}
.smtp-card:hover { border-color: var(--primary); }
.smtp-card-info { display: flex; align-items: center; gap: 12px; }
.smtp-card-email { font-weight: 600; font-size: 13px; }
.smtp-card-host { font-size: 12px; color: var(--text-muted); }
.smtp-card-actions { display: flex; gap: 6px; }

/* AI Provider Cards */
.ai-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    background: var(--bg-card);
}
.ai-card.default { border-color: var(--primary); background: var(--primary-lighter); }
.ai-card-info { display: flex; align-items: center; gap: 14px; }
.ai-card-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.ai-card-logo.openai { background: #10a37f20; color: #10a37f; }
.ai-card-logo.gemini, .ai-card-logo.google { background: #4285f420; color: #4285f4; }
.ai-card-logo.anthropic { background: #d9770620; color: #d97706; }
.ai-card-logo.deepseek { background: #0066fe20; color: #0066fe; }
.ai-card-logo.x { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.ai-card-logo.qwen { background: #8b5cf620; color: #8b5cf6; }
.ai-card-logo.local { background: #6b728020; color: #6b7280; }

/* CSV Import */
.csv-dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: var(--bg-input);
}
.csv-dropzone:hover, .csv-dropzone.dragover {
    border-color: var(--primary);
    background: var(--primary-lighter);
}
.csv-mapping { margin-top: 20px; }
.csv-mapping-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.csv-mapping-arrow { color: var(--text-muted); font-size: 18px; }
.csv-preview-table {
    max-height: 240px;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

/* Site Detail Page */
.site-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}
.site-info-rows { 
    display: flex; 
    flex-direction: column;
    gap: 2px;
}
.site-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}
.site-info-row:hover {
    background: var(--bg-input);
}
.site-info-row:last-child { border-bottom: none; }
.site-info-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    min-width: 120px;
    flex-shrink: 0;
}
.site-info-row > span:last-child {
    text-align: right;
    font-size: 13px;
    color: var(--text-primary);
    word-break: break-all;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
    font-weight: 500;
}

/* AI Message Preview & Outbox Shell */
.ai-msg-preview {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.ai-msg-header {
    background: var(--bg-input);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ai-msg-meta-row {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}
.ai-msg-meta-label {
    width: 70px;
    font-weight: 600;
    color: var(--text-muted);
}
.ai-msg-subject {
    padding: 8px 12px;
    background: var(--primary-lighter);
    border: 1px solid rgba(26, 54, 93, 0.08);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}
.ai-msg-body-container {
    padding: 24px;
    background: var(--bg-card);
}
.ai-msg-body {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-primary);
    white-space: pre-wrap;
    font-family: inherit;
}
.ai-msg-angle {
    padding: 12px 18px;
    background: var(--accent-lighter);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-dark);
}

/* Partenero Finder Additions */
.map-container {
    height: 380px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 200px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 12.5px;
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-fast);
    color: var(--text-primary);
    text-align: left;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--bg-input);
}

.metrics-line-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.metric-line-card {
    padding: 16px 20px;
    text-align: left;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.metric-line-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.metric-line-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 4px;
}

.metric-line-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.searching-timer-card {
    padding: 60px 40px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-top: 24px;
}

.searching-timer-radar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--primary-lighter);
    border-top-color: var(--primary);
    margin: 0 auto 20px;
    animation: search-radar-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searching-timer-radar::after {
    content: '';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px dashed var(--accent-light);
    animation: search-radar-inner-spin 2.4s linear infinite;
}

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

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

.timer-count-display {
    font-size: 32px;
    font-weight: 800;
    font-family: monospace;
    color: var(--primary);
    margin-top: 10px;
}

/* ==========================================================================
   AUTH / LOGIN & REGISTER GATE
   ========================================================================== */
/* Remove main layout shell padding and enforce seamless background on login */
#content:has(.login-page-container) {
    padding: 0 !important;
    background: hsl(217, 40%, 8%) !important;
}

.login-page-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--titlebar-height));
    padding: 24px;
    background: radial-gradient(circle at 50% 50%, hsl(217, 33%, 12%) 0%, hsl(217, 40%, 8%) 100%);
    overflow: hidden;
}

.login-page-container .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.login-page-container .orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: -100px;
    left: -100px;
    animation: float-orb 15s infinite alternate ease-in-out;
}

.login-page-container .orb-2 {
    width: 500px;
    height: 500px;
    background: var(--primary-light);
    bottom: -150px;
    right: -100px;
    animation: float-orb 20s infinite alternate-reverse ease-in-out;
}

@keyframes float-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.15); }
}

.login-card-split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 960px;
    background: rgba(10, 16, 30, 0.94); /* Deep dark background to reduce overall brightness */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow var(--transition-slow);
}

.login-card-split:hover {
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.login-pane {
    display: flex;
    flex-direction: column;
    background: transparent;
    color: var(--text-inverse);
    padding: 0; /* Let headers span full width */
}

.login-pane.border-right {
    border-right: 2px solid rgba(255, 255, 255, 0.12); /* More prominent, visible divider */
    background: rgba(255, 255, 255, 0.01);
}

.pane-header {
    padding: 32px 40px;
    margin-bottom: 0;
    transition: all var(--transition-base);
}

.login-header-blue {
    background: linear-gradient(135deg, hsl(217, 70%, 22%) 0%, hsl(217, 60%, 14%) 100%);
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
}

.register-header-orange {
    background: linear-gradient(135deg, hsl(28, 85%, 45%) 0%, hsl(28, 80%, 35%) 100%);
    border-bottom: 2px solid rgba(249, 115, 22, 0.25);
}

.brand-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 9.5px;
    font-weight: 800;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-badge.accent {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.pane-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff; /* Bright text */
    letter-spacing: -0.5px;
}

.pane-subtitle {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.85); /* Readability enhanced */
    margin-top: 6px;
    line-height: 1.4;
}

.pane-body {
    padding: 32px 40px 48px 40px; /* Shifted padding into body container */
    display: flex;
    flex-direction: column;
    background: transparent;
}

.login-card-split .form-label {
    color: var(--text-sidebar);
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 6px;
    display: inline-block;
}

.login-card-split .form-input {
    background: #ffffff !important; /* Clean, pure white background for high contrast */
    border: 1.5px solid hsl(217, 20%, 75%) !important; /* Solid prominent, visible border */
    color: hsl(217, 30%, 15%) !important; /* Deep readable text color */
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 13px;
    transition: all var(--transition-base);
}

.login-card-split .form-input::placeholder {
    color: hsl(217, 16%, 55%) !important; /* Muted but clearly visible placeholder text */
}

/* Custom interactive focus states */
.login-pane.border-right .form-input:focus {
    background: #ffffff !important;
    border-color: hsl(217, 70%, 40%) !important; /* Blue accent focus on Login form */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
    outline: none;
}

.login-pane:not(.border-right) .form-input:focus {
    background: #ffffff !important;
    border-color: var(--accent) !important; /* Orange accent focus on Register form */
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25) !important;
    outline: none;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper svg {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.input-icon-wrapper .form-input {
    padding-left: 36px;
}

.input-icon-wrapper .form-input:focus + svg {
    color: var(--border-focus);
}

.btn-block {
    width: 100%;
}

/* Country search dropdown selector */
.country-dropdown-wrapper {
    position: relative;
    width: 100%;
}

.form-select-btn {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid hsl(217, 24%, 72%);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-primary);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    outline: none;
}

.form-select-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.country-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 250px;
    display: flex;
    flex-direction: column;
    z-index: 1002;
    overflow: hidden;
    animation: slideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.dropdown-no-results {
    padding: 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

.country-code-badge {
    font-size: 10.5px;
    font-weight: 700;
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-muted);
}

.txt-mute {
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================================================
   LICENSE MANAGER & PRICING PLANS
   ========================================================================== */
.comparative-license-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.comparative-license-table th, .comparative-license-table td {
    padding: 14px 18px;
    font-size: 13px;
    vertical-align: middle;
}

.comparative-license-table th {
    background: var(--bg-input);
    color: var(--text-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}

.comparative-license-table td {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
}

.comparative-license-table tr:last-child td {
    border-bottom: none;
}

.feature-check {
    color: var(--success);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feature-cross {
    color: var(--text-muted);
    opacity: 0.6;
}

.plan-price-card {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--text-inverse);
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.plan-price-value {
    font-size: 40px;
    font-weight: 800;
    margin: 12px 0 6px;
}

/* ==========================================================================
   CREDIT PACKAGES
   ========================================================================== */
.credit-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.credit-package-card {
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-card);
    position: relative;
    transition: all var(--transition-base);
}

.credit-package-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.credit-package-card.selected {
    border-color: var(--accent);
    background: var(--accent-lighter);
}

.package-radio {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.package-credits {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.package-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.package-rate {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ==========================================================================
   ACCOUNT & VAT STYLINGS
   ========================================================================== */
.vat-input-group {
    display: flex;
    gap: 8px;
}

.vat-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}


