:root {
    --bg-primary: #070b14;
    --bg-secondary: #0f172a;
    --card-bg: rgba(15, 23, 42, 0.85);
    --card-border: rgba(255, 255, 255, 0.09);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.4);
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.15);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    --info: #06b6d4;
    --info-bg: rgba(6, 182, 212, 0.15);
    --purple: #a855f7;
    --purple-bg: rgba(168, 85, 247, 0.15);
    
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Arka Plan Işık Efektleri */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
}

.orb-1 {
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, #06b6d4);
}

.orb-2 {
    bottom: -10%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #25d366, #10b981);
}

.app-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 20px;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px 0 rgba(0, 0, 0, 0.45);
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    margin-bottom: 20px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* EKİP SEÇİCİ KUTUSU */
.team-selector-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
}

.team-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

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

.team-label {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.team-select-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-dropdown {
    background: none;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
}

.team-dropdown option {
    background: #0f172a;
    color: #fff;
}

.btn-add-member {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--primary-light);
    border-radius: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.btn-add-member:hover {
    background: var(--primary);
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ANA SEKMELER (TABS) */
.main-nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-tab:hover {
    background: rgba(30, 41, 59, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-tab.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.2));
    border-color: var(--primary-light);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

.nav-tab-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.nav-tab-badge.badge-primary {
    background: var(--primary);
    color: #fff;
}

/* TAB PANELERİ */
.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

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

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4338ca);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
}

.btn-ghost:hover {
    color: var(--danger);
    background: var(--danger-bg);
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-whatsapp-start {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.btn-danger-outline {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.45);
}

/* KONTROL KARTI & FORM */
.control-card {
    padding: 24px;
    margin-bottom: 24px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.select-wrapper {
    position: relative;
}

.custom-select-lg, .custom-select {
    width: 100%;
    padding: 11px 14px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s;
}

.custom-select-lg:focus, .custom-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* ETİKET ALANI (TAGS) */
.active-selection-tags-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tags-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tags-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.tags-title {
    font-weight: 700;
    color: var(--text-secondary);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 38px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: var(--radius-sm);
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.15);
    color: #c7d2fe;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.tag-pill.category-pill {
    background: rgba(168, 85, 247, 0.15);
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, 0.3);
}

.tag-pill .remove-tag {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tag-pill .remove-tag:hover {
    opacity: 1;
    color: #ef4444;
}

.custom-sector-row {
    margin-bottom: 16px;
}

.custom-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
}

.custom-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13.5px;
    outline: none;
}

/* ŞABLON DÜZENLEYİCİ */
.template-editor-box {
    margin-bottom: 18px;
    padding: 14px;
    background: rgba(37, 211, 102, 0.04);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: var(--radius-md);
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 600;
}

.template-textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    resize: vertical;
}

/* FOOTER BAR */
.builder-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-badge {
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.summary-title {
    font-weight: 700;
    font-size: 14px;
}

.summary-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* TOGGLE SWITCH */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #334155;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(20px); }
.slider.round { border-radius: 22px; }
.slider.round:before { border-radius: 50%; }

.toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* İSTATİSTİK GRID */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon-blue { background: var(--info-bg); color: var(--info); }
.icon-danger { background: var(--danger-bg); color: var(--danger); }
.icon-whatsapp { background: var(--success-bg); color: var(--success); }
.icon-meeting { background: var(--warning-bg); color: var(--warning); }
.icon-purple { background: var(--purple-bg); color: var(--purple); }

.stat-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-label {
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* İLERLEME ÇUBUĞU */
.live-progress-container {
    padding: 14px 20px;
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background: #06b6d4;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.progress-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill.indeterminate {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    border-radius: 3px;
    animation: moveProgress 1.8s infinite ease-in-out;
}

@keyframes moveProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(6, 182, 212, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* TABLOLAR */
.results-section {
    padding: 22px;
    margin-bottom: 24px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 14px;
}

.results-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
}

.search-box input {
    padding: 8px 12px 8px 34px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13px;
    outline: none;
    width: 220px;
}

.table-responsive {
    overflow-x: auto;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.leads-table th {
    text-align: left;
    padding: 12px 14px;
    background: rgba(30, 41, 59, 0.7);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leads-table td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.leads-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ROZETLER & AŞAMA PİLLERİ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.badge-danger { background: var(--danger-bg); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-success { background: var(--success-bg); color: #4ade80; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-info { background: var(--info-bg); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.2); }
.badge-warning { background: var(--warning-bg); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-purple { background: var(--purple-bg); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.2); }
.badge-neutral { background: rgba(255, 255, 255, 0.08); color: var(--text-secondary); }

/* UYARI ROZETİ: DAHA ÖNCE GÖRÜŞÜLDÜ */
.badge-contacted-warning {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.sender-pill {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #a5b4fc;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11.5px;
}

/* İNTERAKTİF AŞAMA SEÇİCİ DROPDOWN */
.stage-dropdown-cell {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    outline: none;
    cursor: pointer;
}

.stage-dropdown-cell:focus {
    border-color: var(--primary-light);
}

/* ZAMAN TÜNELİ (TIMELINE) */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
}

.timeline-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.timeline-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(99, 102, 241, 0.3);
}

.timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    color: var(--primary-light);
    font-size: 15px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.timeline-msg {
    font-size: 12.5px;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: 6px;
    border-left: 3px solid var(--whatsapp);
}

.timeline-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* WHATSAPP KARTLARI */
.whatsapp-campaign-card {
    padding: 24px;
    margin-bottom: 24px;
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.campaign-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.whatsapp-icon-pulse {
    width: 48px;
    height: 48px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.campaign-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.campaign-subtitle {
    font-size: 12.5px;
    color: var(--text-secondary);
    max-width: 600px;
}

.campaign-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.interval-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.wp-live-container {
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: var(--radius-md);
}

.wp-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.pulse-dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #25d366;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px #25d366;
}

.countdown-badge {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    padding: 4px 12px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* MODAL */
.modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal {
    width: 90%;
    max-width: 520px;
    padding: 22px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 22px;
    cursor: pointer;
}

.modal-body textarea {
    width: 100%;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    margin-top: 6px;
    outline: none;
    resize: vertical;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.hidden { display: none !important; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }
.text-purple { color: var(--purple); }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
