:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --rate: #a855f7;
    --border: #334155;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
}

.main-wrapper {
    max-width: 98%;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Header & Tabs */
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.nav-tabs {
    display: flex;
    gap: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: 0.2s;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

/* Containers */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

h2 { margin-top: 0; font-size: 1.5rem; color: var(--text); }
h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Form Elements */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }

input, select, textarea {
    background: #0f172a;
    border: 1px solid var(--border);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover { filter: brightness(1.1); transform: translateY(-1px); }
button:active { transform: translateY(0); }

.btn-secondary { background: var(--secondary); }
.btn-success { background: var(--accent); }
.btn-warning { background: var(--warning); color: #000; }
.btn-danger { background: var(--error); }

/* Risultati Box */
.result-container {
    background: #0f172a;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
    margin: 1rem 0;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text);
}

/* Messaggi Card */
.message-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: 0.2s;
}

.message-card:hover { border-color: var(--primary); background: rgba(37,99,235,0.05); }
.message-card.pinned { border-left: 4px solid var(--warning); background: rgba(245,158,11,0.05); }

.msg-info { flex: 1; }
.msg-text { font-size: 0.95rem; color: var(--text); margin-bottom: 0.5rem; }
.msg-meta { font-size: 0.75rem; color: var(--text-muted); }

.msg-actions { display: flex; gap: 0.5rem; }
.icon-btn { padding: 0.5rem; font-size: 1rem; min-width: 40px; }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.hidden { display: none; }

/* Animazione Flash per Campi Data */
@keyframes dateFlash {
    0% { background-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 15px rgba(245, 158, 11, 0.6); }
    50% { background-color: transparent; box-shadow: none; }
    100% { background-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 15px rgba(245, 158, 11, 0.6); }
}

.date-field-flash {
    animation: dateFlash 0.8s ease-in-out infinite !important;
    border-color: var(--warning) !important;
    color: white !important;
}

/* Stile Giorni Festivi in Flatpickr */
.flatpickr-holiday {
    color: #ef4444 !important; /* Rosso */
    font-weight: bold !important;
    border-bottom: 2px solid #ef4444 !important;
    border-radius: 5px !important;
}

.flatpickr-holiday:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Pulsante Sincronizzazione */
.btn-sync-toggle {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.btn-sync-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-sync-toggle:hover {
    filter: brightness(1.2);
}

/* Phone Input Actions */
.phone-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 180px; /* Ripristinato */
}

.phone-input-container input {
    width: 100%;
    padding-right: 3.5rem !important; /* Ripristinato per 2 icone */
    font-size: 0.95rem;
}

.input-actions {
    position: absolute;
    right: 8px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.btn-input-action {
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    min-width: unset !important;
    box-shadow: none !important;
}

.btn-input-action:hover {
    opacity: 1;
    transform: scale(1.2);
    background: transparent !important;
}

.btn-input-action.clear:hover { color: var(--error); }
.btn-input-action.paste:hover { color: var(--primary); }

/* SCADENZIARIO SIDEBAR REVISIONATA */
.scadenziario-sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 400px;
    max-width: 90%;
    height: 100vh;
    background: var(--card-bg);
    border-left: 3px solid var(--primary);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(100%);
    padding: 1.5rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.scadenziario-sidebar.open {
    transform: translateX(0) !important;
}

/* MULTI-SEND SIDEBAR (SINISTRA) */
.multi-send-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 70%;
    max-width: 95%;
    height: 100vh;
    background: var(--card-bg);
    border-right: 3px solid var(--accent);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-100%);
    padding: 1.5rem;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.multi-send-sidebar.open {
    transform: translateX(0);
}

.multi-send-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.multi-send-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.queue-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    position: relative;
    font-size: 0.85rem;
    animation: slideInLeft 0.3s ease;
    cursor: grab;
    transition: transform 0.2s, background 0.2s, border 0.2s;
}

.queue-item.dragging {
    opacity: 0.5;
    background: rgba(37, 99, 235, 0.1);
    cursor: grabbing;
}

.queue-item.drag-over {
    border-top: 2px solid var(--accent);
    transform: translateY(2px);
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.queue-item-type {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 4px;
    display: block;
}

.queue-item-text {
    color: var(--text-muted);
    white-space: pre-wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.queue-item-actions {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    justify-content: flex-end;
}

.multi-send-footer {
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    background: var(--card-bg);
    position: sticky;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 10;
}

#btn-send-all {
    padding: 1.2rem !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Badge contatore sulla barra di comando */
.multi-send-badge {
    background: var(--accent);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    transition: 0.3s;
}

@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.3); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.badge-pulse {
    animation: badgePulse 0.5s ease-out;
}

/* Checkbox nei messaggi */
.msg-checkbox-container {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 1500;
    display: none;
    animation: fadeIn 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
}

.scadenziario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.scadenziario-content {
    flex: 1;
    overflow-y: auto;
}

.plan-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: 0.2s;
}

.plan-item.accepted {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.05);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.plan-header::after {
    content: '▼';
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s;
    margin-left: 10px;
}

.plan-item:not(.collapsed) .plan-header::after {
    transform: rotate(180deg);
}

.deadlines-list {
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    overflow: hidden;
    max-height: 1000px; /* Abbastanza grande per contenere le rate */
    opacity: 1;
}

.plan-item.collapsed .deadlines-list {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

.plan-item.collapsed {
    padding-bottom: 0.5rem;
}

.plan-type {
    font-weight: bold;
    color: var(--primary);
    font-size: 0.9rem;
}

.deadline-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.deadline-row:last-child { border-bottom: none; }

.deadline-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
}

.deadline-status.paid { background: var(--accent); }
.deadline-status.pending { background: var(--warning); }

.btn-mini {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 0.4rem;
}

/* MODALI */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal-content {
    width: 100%;
    max-width: 450px;
    background: var(--card-bg);
    border: 1px solid var(--primary);
    position: relative;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

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

.option-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary);
}

.option-card.active {
    border-color: var(--accent);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.option-card:hover { border-color: var(--primary); background: rgba(37,99,235,0.05); }
.option-card input[type="radio"] { margin-top: 5px; }

.opt-text { display: flex; flex-direction: column; gap: 2px; }
.opt-text strong { font-size: 0.9rem; color: var(--text); }
.opt-text span { font-size: 0.75rem; color: var(--text-muted); }

.w-100 { width: 100%; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }

.info-rata-box {
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary);
}
.recalc-summary-box {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--border);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}
.amount-clickable {
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px dashed var(--primary);
}
.amount-clickable:hover {
    color: var(--primary);
}

/* --- OTTIMIZZAZIONI DESKTOP (PRO MODE) --- */
@media (min-width: 1024px) {
    .main-wrapper {
        max-width: 98%;
        margin: 1rem auto;
    }

    .card {
        padding: 1.2rem;
        margin-bottom: 1rem;
    }

    .form-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        margin-bottom: 1rem;
    }

    /* Calcolatore Layout Compatto */
    .calc-container {
        max-width: 100% !important;
        padding: 1.5rem !important;
    }

    .results-grid-desktop {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 1rem;
    }

    .result-box-c {
        margin-top: 0 !important;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .result-box-c pre {
        flex: 1;
        font-size: 0.8rem;
    }

    /* Messaggi Layout Ultra-Compatto */
    #risultati {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .dati-pratica-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        background: transparent;
        padding: 0;
        border: none;
    }

    .input-group-h {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .input-group-h label {
        min-width: 70px;
        font-size: 0.65rem !important;
        color: var(--primary);
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 0 !important;
    }

    .input-group-h input, .input-group-m input {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.9rem;
        background: white;
        border: 2px solid #dfe6e9;
        border-radius: 8px;
        color: #333;
    }

    .message-card {
        padding: 0.8rem !important;
        margin-bottom: 0 !important;
        min-height: 100px;
    }

    .msg-text {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .add-phrase-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 1rem !important;
        margin-top: 2rem !important;
    }

    /* Calcolatore Ultra-Compatto */
    .calc-inputs-grid-desktop {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .section-c {
        margin-bottom: 0.5rem !important;
        padding: 10px !important;
    }
}


@media (min-width: 1024px) {
    .db-status-bar {
        padding: 4px !important;
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }
    .msgs-original h1 {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
}

@media (min-width: 1024px) {
    .result-box-c {
        padding: 10px !important;
    }
    .result-box-c pre {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }
    .btn-copy-c {
        padding: 8px !important;
        font-size: 0.75rem !important;
    }
}

.missing-tag { 
    color: #ff0000; 
    font-weight: 900; 
    background: rgba(255, 0, 0, 0.15); 
    padding: 0 8px; 
    border-radius: 4px; 
    border: 1px solid #ff0000; 
    text-shadow: 0 0 2px rgba(255,0,0,0.2);
}


.btn-warning-state { background: #f59e0b !important; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important; } .input-error-state { border-color: #ef4444 !important; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important; }

@keyframes glow-error { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 50% { box-shadow: 0 0 20px 5px rgba(239, 68, 68, 0.5); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } } .glow-error { animation: glow-error 1.5s ease-in-out infinite; border-color: #ef4444 !important; }

/* Modulo Allegati PDF Physical Sender */
.pdf-attach-card-container { margin-top: 25px; border: 2px dashed #25D366; background: #f4fbf7; padding: 20px; border-radius: 12px; }
.pdf-attach-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; border-bottom: 1px dashed #25D366; padding-bottom: 8px; }
.pdf-attach-title { margin-bottom: 0; color: #128C7E; font-weight: 700; font-size: 0.95rem; }
.pdf-attach-badge { font-size: 0.75rem; background: #25D366; color: white; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.pdf-attach-description { font-size: 0.85rem; color: #444; margin-top: 0; margin-bottom: 15px; }
.pdf-drop-box { border: 2px dashed #128C7E; background: #ffffff; border-radius: 10px; padding: 20px 15px; text-align: center; cursor: pointer; transition: all 0.2s ease; }
.pdf-drop-prompt-icon { font-size: 2.2rem; margin-bottom: 8px; }
.pdf-drop-prompt-title { font-weight: 600; color: #2c3e50; font-size: 0.95rem; }
.pdf-drop-prompt-highlight { color: #128C7E; text-decoration: underline; }
.pdf-drop-prompt-subtitle { font-size: 0.75rem; color: #888; margin-top: 4px; }
.pdf-preview-bar { display: flex; justify-content: space-between; align-items: center; background: #e8f5e9; padding: 8px 12px; border-radius: 6px; border: 1px solid #a5d6a7; }
.pdf-summary-text { font-weight: 700; color: #1b5e20; font-size: 0.85rem; }
.pdf-btn-reset-all { background: #e74c3c; color: white; border: none; padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 0.75rem; font-weight: 600; }
.pdf-files-list-box { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.pdf-caption-label { font-size: 0.8rem; font-weight: 600; color: #333; display: block; margin-bottom: 4px; }
.pdf-caption-input { width: 100%; padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 0.9rem; }
.pdf-footer-bar { display: flex; justify-content: space-between; align-items: center; background: #eef2f5; padding: 10px 15px; border-radius: 8px; border: 1px solid #d0d7de; }
.pdf-target-phone-label { font-size: 0.85rem; color: #2c3e50; font-weight: 600; }
.pdf-btn-send { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; border: none; padding: 10px 20px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); transition: all 0.2s ease; }
.pdf-send-status-box { font-size: 0.8rem; text-align: right; margin-top: 6px; font-weight: 600; }
.pdf-file-input-hidden { display: none; }
.pdf-preview-wrapper-hidden { display: none; flex-direction: column; gap: 8px; }
.pdf-fields-wrapper { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.pdf-target-phone-value { color: #128C7E; font-weight: 700; }

/* Mobile Page Layout */
.mobile-header-row { display: flex; justify-content: space-between; align-items: center; }
.mobile-title { font-size: 1.5rem; }
.mobile-polling-label { font-size: 0.7rem; color: var(--text-muted); }
.mobile-push-section { margin-top: 1rem; text-align: center; }
.mobile-push-btn { background: var(--primary); padding: 0.6rem 1rem; font-size: 0.8rem; border-radius: 2rem; }
.mobile-push-status { font-size: 0.7rem; color: var(--accent); margin-top: 10px; min-height: 1rem; }
.mobile-card-heading { margin: 0; color: white; }
.mobile-card-number { font-size: 2rem; font-weight: 800; margin: 1rem 0; color: white; }
.mobile-card-type { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.mobile-copy-btn { background: rgba(255,255,255,0.25); color: white; border: 2px solid white; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; cursor: pointer; width: 100%; transition: all 0.2s; }
.mobile-copy-feedback { font-size: 0.85rem; color: #fff; margin-bottom: 10px; font-weight: 600; display: none; }
.mobile-footer { margin-top: 3rem; }

