@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(255, 255, 255, 0.02);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f5f5f5;
    --text-secondary: #e5e5e5;
    --text-muted: #888888;
    --accent-green: #34d399;
    --accent-green-glow: rgba(52, 211, 153, 0.2);
    --accent-blue: #a3ff00;
    --accent-blue-glow: rgba(163, 255, 0, 0.15);
    --accent-purple: #d946ef;
    --accent-purple-glow: rgba(217, 70, 239, 0.2);
    --accent-red: #f87171;
    --accent-red-glow: rgba(248, 113, 113, 0.2);
    --accent-amber: #fbbf24;
    --accent-amber-glow: rgba(251, 191, 36, 0.2);
    --gradient-primary: linear-gradient(135deg, #a3ff00, #84cc16);
    --gradient-header: rgba(10, 10, 10, 0.8);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    background-image: radial-gradient(circle at 50% 15%, rgba(163, 255, 0, 0.05) 0%, transparent 40%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, .serif, .playfair {
    font-family: 'Playfair Display', serif;
}

/* ========== HEADER ========== */
.header {
    background: var(--gradient-header);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
}
.logo svg {
    width: 24px;
    color: var(--accent-blue);
}

.header-title h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.header-title span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

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

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: var(--transition);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-badge.online .dot {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.status-badge.offline .dot {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
}

.status-badge.connecting .dot {
    background: var(--accent-amber);
    box-shadow: 0 0 8px var(--accent-amber);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ========== MAIN LAYOUT ========== */
.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 32px;
}

/* ========== CARDS DE STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: rgba(59, 130, 246, 0.3);
}

.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center;
    z-index: 1000; backdrop-filter: blur(4px);
}
.modal-content {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 32px; width: 100%; max-width: 400px;
    text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.stat-card:nth-child(1) .stat-icon { background: var(--accent-blue-glow); color: var(--accent-blue); }
.stat-card:nth-child(2) .stat-icon { background: var(--accent-blue-glow); color: var(--accent-blue); }
.stat-card:nth-child(3) .stat-icon { background: var(--accent-blue-glow); color: var(--accent-blue); }
.stat-card:nth-child(4) .stat-icon { background: var(--accent-blue-glow); color: var(--accent-blue); }

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== CONTENT GRID ========== */
.content-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    height: calc(100vh - 280px);
    min-height: 500px;
}

/* ========== PAINEL DE CONTATOS ========== */
.panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.panel-header h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-header h2 .count {
    background: var(--accent-blue-glow);
    color: var(--accent-blue);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 600;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.panel-body {
    overflow-y: auto;
    flex: 1;
}

.panel-body::-webkit-scrollbar {
    width: 4px;
}

.panel-body::-webkit-scrollbar-track {
    background: transparent;
}

.panel-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

/* ========== LISTA DE ENVIOS ========== */
.envio-item {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(42, 53, 72, 0.5);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
}

.envio-item:hover {
    background: var(--bg-card-hover);
}

.envio-item.active {
    background: var(--accent-blue-glow);
    border-left: 3px solid var(--accent-blue);
}

.envio-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.envio-info {
    flex: 1;
    min-width: 0;
}

.envio-info .nome {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.envio-info .telefone {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.envio-meta {
    text-align: right;
    flex-shrink: 0;
}

.envio-meta .hora {
    font-size: 11px;
    color: var(--text-muted);
}

.envio-meta .status-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    margin-top: 4px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-tag.sucesso {
    background: var(--accent-green-glow);
    color: var(--accent-green);
}

.status-tag.falha {
    background: var(--accent-red-glow);
    color: var(--accent-red);
}

/* ========== PAINEL DE DETALHES ========== */
.detail-panel {
    display: flex;
    flex-direction: column;
}

.detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    gap: 12px;
}

.detail-empty .icon {
    font-size: 48px;
    opacity: 0.3;
}

.detail-empty p {
    font-size: 14px;
}

.detail-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-blue);
}

.detail-title .nome {
    font-size: 16px;
    font-weight: 700;
}

.detail-title .telefone {
    font-size: 13px;
    color: var(--text-muted);
}

.detail-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.message-bubble {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px 12px 12px 4px;
    padding: 14px 18px;
    margin-bottom: 12px;
    max-width: 85%;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.message-bubble.sent {
    margin-left: auto;
    border-radius: 12px 12px 4px 12px;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.message-bubble .msg-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-wrap;
}

.message-bubble .msg-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: right;
}

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

/* ========== EMPTY STATE ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
    text-align: center;
}

.empty-state .icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.4;
}

/* ========== LOADING ========== */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== TAB SWITCHER ========== */
.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
}

.tab-btn {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    color: var(--text-secondary);
}

.tab-btn.active {
    color: var(--accent-blue);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px 2px 0 0;
}

/* ========== RESPONSIVE / MOBILE FIRST ========== */

/* Tablets e telas médias */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .content-grid {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
    }
}

/* MOBILE - até 768px */
@media (max-width: 768px) {
    :root {
        --radius: 10px;
        --radius-sm: 6px;
    }

    body {
        font-size: 15px;
        padding-bottom: 80px; /* espaço para bottom nav */
    }

    /* HEADER MOBILE */
    .header {
        padding: 12px 16px;
        flex-wrap: nowrap;
        gap: 8px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }
    .header-title h1 {
        font-size: 16px;
    }
    .header-title span {
        display: none;
    }
    .header-right {
        gap: 8px;
    }
    .user-greeting {
        display: none;
    }
    .status-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
    .status-badge .dot {
        width: 6px;
        height: 6px;
    }

    /* MAIN CONTENT */
    .main {
        padding: 72px 12px 100px 12px;
        max-width: 100%;
    }

    /* STATS - 2 colunas no mobile médio, 1 em telas pequenas */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-card .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    .stat-card .stat-value {
        font-size: 22px;
    }
    .stat-card .stat-label {
        font-size: 11px;
    }

    /* CONTENT GRID - empilhado */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        height: auto;
        min-height: auto;
    }

    /* PAINEL ESQUERDO (lista) */
    .panel {
        border-radius: var(--radius);
        max-height: 60vh;
    }
    .panel-header {
        padding: 14px 16px;
    }
    .panel-header h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* LISTA DE ENVIOS */
    .envio-item {
        padding: 12px 14px;
        gap: 10px;
    }
    .envio-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .envio-info .nome {
        font-size: 13px;
    }
    .envio-info .telefone {
        font-size: 11px;
    }
    .envio-meta .hora {
        font-size: 10px;
    }

    /* DETALHES - painel direito */
    .detail-header {
        padding: 14px 16px;
        gap: 12px;
    }
    .detail-avatar {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    .detail-title .nome {
        font-size: 15px;
    }
    .detail-body {
        padding: 14px 16px;
    }
    .message-bubble {
        max-width: 92%;
        padding: 12px 14px;
    }
    .message-bubble .msg-text {
        font-size: 14px;
    }

    /* TABS */
    .tab-bar {
        padding: 0 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tab-bar::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        padding: 10px 14px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* MODAIS - tela cheia no mobile */
    .modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .modal-content {
        max-width: 100%;
        width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
        padding: 24px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* CAMPANHA DETALHE MODAL */
    .campanha-detalhe-card {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        border-radius: var(--radius) var(--radius) 0 0;
        margin-top: auto;
    }
    .campanha-detalhe-header {
        padding: 18px 20px;
    }
    .campanha-detalhe-body {
        padding: 16px 20px;
    }

    /* TOAST */
    #toastContainer {
        left: 12px;
        right: 12px;
        bottom: 84px; /* acima da bottom nav */
        align-items: center;
    }
    .toast {
        min-width: auto;
        max-width: 100%;
        width: 100%;
    }

    /* TABELAS - scroll horizontal */
    .data-table-wrapper,
    .campanha-detalhe-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }
    .data-table {
        min-width: 600px;
    }
    .data-table th,
    .data-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    /* UPLOAD ZONE */
    .upload-zone {
        padding: 40px 20px;
    }
    .upload-icon {
        width: 48px;
        height: 48px;
    }

    /* KANBAN */
    .kanban-board {
        gap: 10px;
        padding-bottom: 8px;
    }
    .kanban-col {
        flex: 0 0 280px;
        min-height: 320px;
        padding: 12px;
    }
    .kanban-card {
        padding: 10px 12px;
    }
    .kanban-card-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    /* NAV BUTTONS - touch friendly */
    .nav-btn,
    .action-btn {
        min-height: 44px;
        padding: 12px 18px;
        font-size: 14px;
    }

    /* SEARCH */
    .search-box {
        max-width: 100%;
    }

    /* BOTTOM NAV (dashboard mobile) */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(10, 10, 10, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        z-index: 200;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        flex: 1;
        height: 100%;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        transition: var(--transition);
        cursor: pointer;
        border: none;
        background: none;
        font-family: inherit;
    }
    .mobile-bottom-nav-item.active {
        color: var(--accent-blue);
    }
    .mobile-bottom-nav-item svg,
    .mobile-bottom-nav-item .icon {
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
}

/* TELAS PEQUENAS - até 480px */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .header-title h1 {
        font-size: 15px;
    }
    .logo {
        font-size: 16px;
    }
    .main {
        padding: 68px 10px 100px 10px;
    }
    .panel {
        max-height: 55vh;
    }
    .kanban-col {
        flex: 0 0 260px;
    }
    .modal-content {
        padding: 20px 16px;
    }
}

/* Esconde bottom nav no desktop */
.mobile-bottom-nav {
    display: none;
}

/* Touch-friendly global */
button, .nav-btn, .action-btn, .tab-btn, .envio-item, .kanban-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Fix iOS inputs */
input, textarea, select {
    font-size: 16px; /* previne zoom no iOS */
}

/* Safe area para notch */
@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: max(12px, env(safe-area-inset-top));
    }
}

/* ========== BUTTONS ========== */
.nav-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

.nav-btn.active {
    background: var(--accent-blue);
    color: #111;
    box-shadow: 0 4px 10px var(--accent-blue-glow);
}

.action-btn {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.action-btn.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.action-btn.danger:hover {
    background: var(--accent-red);
    color: white;
}

/* ========== UPLOAD ZONE ========== */
.upload-zone {
    border: 2px dashed rgba(163, 255, 0, 0.3);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent-blue);
    background: rgba(163, 255, 0, 0.05);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent-blue);
    opacity: 0.8;
}

.upload-icon svg {
    width: 100%;
    height: 100%;
}

.upload-hint {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

/* ========== DATA TABLE ========== */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table th {
    text-align: left;
    padding: 18px 20px;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--border-color);
}

.data-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.data-table tbody tr:hover td {
    background: rgba(163, 255, 0, 0.03);
    color: var(--text-primary);
}

/* Improved Search Box */
.search-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px var(--accent-blue-glow);
}

.search-box input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
    outline: none;
}

.upload-success {
    background: rgba(52, 211, 153, 0.1);
    border-left: 4px solid var(--accent-green);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--accent-green);
    font-size: 13px;
}

/* ========== DRAFT CARDS ========== */
.draft-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px;
    margin: 15px;
    transition: var(--transition);
    animation: fadeIn 0.4s ease;
}

.draft-card:hover {
    border-color: var(--accent-blue-glow);
    background: var(--bg-card-hover);
}

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

.draft-name {
    font-weight: 700;
    color: var(--accent-blue);
    font-size: 14px;
    letter-spacing: 0.5px;
}

.draft-textarea {
    width: 100%;
    min-height: 80px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: var(--transition);
}

.draft-textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 10px var(--accent-blue-glow);
}


