body,html{margin:0;padding:0;font-family:Inter,sans-serif;background-color:#f9f9f9;color:#333}*,:after,:before{box-sizing:border-box}.page-container{max-width:1200px;margin:0 auto;padding:1rem}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.page-title{font-size:1.5rem;font-weight:600}.page-actions{display:flex;gap:1rem}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;border:none;background-color:#487FFF;color:#fff;font-size:.9rem;border-radius:6px;cursor:pointer;transition:background-color .2s ease;text-decoration:none}.btn:hover{background-color:#025aa5}.card{position:relative;background-color:#fff;border-radius:6px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 4px rgba(0,0,0,.1);cursor:pointer;transition:all .2s ease}.card:hover{box-shadow:0 4px 8px rgba(0,0,0,.1)}.card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.card-title{font-size:1.1rem;font-weight:600}.card-subtitle{font-size:.9rem;color:#666}.card-body{margin-top:.5rem;margin-bottom:.75rem;display:flex;flex-direction:column;gap:.5rem}.card-footer{margin-top:1rem;display:flex;justify-content:flex-end;gap:.5rem}.menu-button{background:none;border:none;cursor:pointer;font-size:1.2rem;color:#666}.menu-button:hover{color:#333}.input,.select,.textarea{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#aaa}.tag{display:inline-block;background-color:#eee;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;margin-right:.25rem}.tag-blue{background-color:#d9ecff;color:#0275d8}.schedule-block{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.schedule-days{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.time-input{width:140px}.text-center,.tilda{text-align:center}.tilda{width:100%;background:#487FFF;color:#FFFFFF;padding-top:0;padding-bottom:0;margin-bottom:1rem}.dropdown-menu{right:25px;top:45px;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 2px 4px rgba(0,0,0,.1);z-index:10;width:150px;display:flex;flex-direction:column}.dropdown-item{padding:.5rem;text-align:left;font-size:.9rem;color:#333;cursor:pointer;background:none;border:none;width:95%;text-decoration:none;display:block}.dropdown-item:hover{background-color:#f1f1f1}.dropdown-item.delete{color:#d9534f}.dropdown-item.delete:hover{background-color:#f8d7da}a{color:black;padding-left:1.5rem;padding-right:1.5rem}a,a:hover{text-decoration:none}a:hover{color:#487FFF}.login-container{max-width:28rem;margin:0 auto;padding:2rem}.login-title{font-size:1.5rem;font-weight:700;text-align:center;margin-bottom:1.5rem;color:#1a1a1a}.login-form{gap:1rem}.form-group,.login-form{display:flex;flex-direction:column}.form-group{gap:.5rem}.form-group label{font-size:.875rem;font-weight:500;color:#374151}.form-group input{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 1px #6366f1}.submit-button{padding:.5rem 1rem;color:white;border:none;border-radius:.375rem;font-weight:500;cursor:pointer;transition:background-color .2s}.submit-button,.submit-button:hover{background-color:#487fff}.submit-button:focus{outline:none;box-shadow:0 0 0 2px rgba(99,102,241,.5)}.error-message{padding:.75rem;margin-bottom:1rem;background-color:#fee2e2;color:#dc2626;border-radius:.375rem;font-size:.875rem}.account-container{max-width:600px;margin:0 auto;padding:20px;background:var(--background-secondary);border-radius:8px;box-shadow:var(--box-shadow);color:var(--text-color)}.account-title{text-align:center;font-size:24px;font-weight:600;margin-bottom:20px}.account-section{margin-bottom:20px;padding:15px;background:var(--background-tertiary);border-radius:6px}.account-section h2{font-size:18px;font-weight:500;margin-bottom:10px}.account-section p{font-size:16px;line-height:1.4}.loading-text{text-align:center;font-size:18px;color:var(--text-muted)}.modal-overlay{padding:15px}.dropdown-menu{position:absolute;padding:10px;background:white;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.dropdown-close-btn{position:absolute;top:1px;right:5px;background:none;border:none;font-size:20px;cursor:pointer;color:#999;padding:0}.dropdown-close-btn:hover{color:#333}.modal-title{font-size:1.2em;margin-bottom:1rem}.modal-title,.reminder{font-weight:700;margin-top:1rem}.reminder{color:#f5424e;background-color:#ffe6e6;font-size:1rem;text-align:center;padding:.5rem;border-radius:16px}.error-text{color:red;font-size:1.1rem;text-align:center}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:1000}.modal{background-color:white;padding:20px;border-radius:8px;text-align:center;box-shadow:0 2px 10px rgba(0,0,0,.1);width:300px;max-width:90%}.hidden{display:none}.broadcast-container{max-width:1200px;margin:0 auto;padding:2rem}.broadcast-container h1{font-size:2rem;margin-bottom:1.5rem;color:#333}.progress-info{background-color:#f0f8ff;border:1px solid #b0d4ff;border-radius:4px;padding:1rem;margin-bottom:1rem}.progress-info p{margin:0 0 .5rem;font-weight:500}.progress{height:24px;background-color:#e9ecef;border-radius:4px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#28a745,#20c997);transition:width .3s ease;display:flex;align-items:center;justify-content:center;color:white;font-size:12px;font-weight:700}.broadcast-form{background:white;border:1px solid #ddd;border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 4px rgba(0,0,0,.05)}.form-section{margin-bottom:1.5rem}.form-section label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.form-section textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;resize:vertical}.form-section textarea:disabled{background-color:#f5f5f5;cursor:not-allowed}.form-section input[type=file]{display:block;margin-bottom:.5rem}.file-info{padding:.5rem 0;color:#666;font-size:14px}.chats-header{display:flex;gap:.5rem;align-items:center;margin-bottom:1rem}.chats-header label{margin:0;flex-grow:1}.btn-sm{padding:.4rem .75rem;font-size:13px}.chats-list{background:#f9f9f9;border:1px solid #ddd;border-radius:4px;max-height:400px;overflow-y:auto;padding:.5rem}.chat-item{padding:.5rem;border-bottom:1px solid #eee}.chat-item:last-child{border-bottom:none}.chat-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;user-select:none}.chat-checkbox input[type=checkbox]{cursor:pointer}.chat-checkbox input[type=checkbox]:disabled{cursor:not-allowed}.chat-name{flex-grow:1;font-weight:500;color:#333}.badge{display:inline-block;padding:.25rem .5rem;border-radius:3px;font-size:11px;font-weight:600}.badge-info{background-color:#d1ecf1;color:#0c5460}.form-actions{display:flex;gap:1rem;margin-top:2rem}.btn-lg{padding:.75rem 2rem;font-size:16px;font-weight:600}.broadcast-info{background:#f0f9ff;border-left:4px solid #0066cc;padding:1.5rem;border-radius:4px}.broadcast-info h3{margin-top:0;margin-bottom:1rem;color:#0066cc}.broadcast-info ul{margin:0;padding-left:1.5rem}.broadcast-info li{margin-bottom:.5rem;color:#333}.alert{padding:1rem;border-radius:4px;margin-bottom:1rem;word-wrap:break-word;white-space:pre-wrap}.alert-danger{background-color:#f8d7da;border:1px solid #f5c6cb;color:#721c24}.alert-success{background-color:#d4edda;border:1px solid #c3e6cb;color:#155724}@media (max-width:768px){.broadcast-container,.broadcast-form{padding:1rem}.form-section textarea{font-size:16px}.chats-header{flex-wrap:wrap}.btn-lg{width:100%}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.navbar-header{padding:1rem;background:linear-gradient(135deg,#2563eb,#1e40af);position:relative;box-shadow:0 2px 8px rgba(0,0,0,.15)}.navbar-nav{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;position:relative}.navbar-spacer{width:150px;order:0}.navbar-links{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;position:absolute;left:50%;transform:translateX(-50%);order:1}.navbar-actions{display:flex;gap:1rem;order:2;margin-left:auto}.navbar-link{color:rgba(255,255,255,.9);text-decoration:none;font-weight:500;font-size:.95rem;padding:.5rem 1rem;border-radius:6px;transition:all .2s ease;position:relative;white-space:nowrap}.navbar-link:hover{color:#fff;background-color:rgba(255,255,255,.15)}.navbar-link.active{color:#fff;background-color:rgba(255,255,255,.2);font-weight:600}.navbar-link.active:after{content:"";position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:60%;height:2px;background-color:#fff;border-radius:2px}@media (min-width:768px){.navbar-nav{justify-content:space-between;flex-wrap:nowrap}.navbar-spacer{display:block}.navbar-links{flex-wrap:nowrap;order:0;position:absolute;left:50%;transform:translateX(-50%)}.navbar-actions{order:0}}@media (max-width:767px){.navbar-header{padding:.75rem}.navbar-nav{gap:.75rem;justify-content:center}.navbar-spacer{display:none}.navbar-links{width:100%;gap:.5rem;position:static;transform:none}.navbar-link{font-size:.9rem;padding:.4rem .8rem}.navbar-actions{width:100%;justify-content:center;margin-left:0}}.account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:1rem}.account-actions-card,.account-info-card{cursor:default}.account-actions-card:hover,.account-info-card:hover{box-shadow:0 2px 4px rgba(0,0,0,.1)}.account-info-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #f0f0f0}.account-info-item:last-child{border-bottom:none}.account-info-label{font-weight:600;color:#666;font-size:.9rem}.account-info-value{font-weight:500;color:#333;font-size:.95rem}.account-role{display:inline-block;padding:.25rem .75rem;background:linear-gradient(135deg,#2563eb,#1e40af);color:white;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:capitalize}.account-actions-card .card-body{display:flex;flex-direction:column;gap:1rem}.account-btn{width:100%;justify-content:flex-start;gap:.5rem}@media (max-width:767px){.account-grid{grid-template-columns:1fr}}.whatsapp-qr-scanner{margin-top:1.5rem}.connection-status{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;font-weight:600;font-size:.95rem}.status-indicator{width:12px;height:12px;border-radius:50%;display:inline-block}.status-indicator.connected{background-color:#10b981;box-shadow:0 0 0 3px rgba(16,185,129,.2)}.status-indicator.scanning{background-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.2);animation:pulse 2s infinite}.status-indicator.disconnected{background-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.2)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.qr-code-container{display:flex;justify-content:center;align-items:center;padding:1rem;background-color:#f9f9f9;border-radius:8px;border:2px solid #e5e7eb}.whatsapp-connected,.whatsapp-disconnected,.whatsapp-qr-code{text-align:center}.pricing-container{max-width:1200px;margin:0 auto;padding:2rem 1rem}.pricing-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:2rem}.pricing-plan-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:2rem;cursor:pointer;transition:all .3s ease;position:relative}.pricing-plan-card:hover{box-shadow:0 10px 25px rgba(0,0,0,.1);transform:translateY(-4px)}.pricing-plan-card.selected{border-color:#487FFF;box-shadow:0 0 0 3px rgba(72,127,255,.1)}.pricing-plan-card.recommended{border-color:#10b981}.recommended-badge{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:4px 16px;border-radius:20px;font-size:.85rem;font-weight:600;box-shadow:0 4px 12px rgba(16,185,129,.3)}.plan-name{font-size:1.5rem;font-weight:700;margin-bottom:.5rem;color:#111827}.plan-description{color:#6b7280;font-size:.95rem;margin-bottom:1.5rem}.plan-price{font-size:3rem;font-weight:700;color:#111827;margin-bottom:.25rem}.plan-price-month{color:#6b7280;font-size:1rem;font-weight:400}.plan-features{list-style:none;padding:0;margin:2rem 0}.plan-features li{padding:.75rem 0;display:flex;align-items:center;gap:.75rem;color:#374151;border-bottom:1px solid #f3f4f6}.plan-features li:last-child{border-bottom:none}.plan-features li:before{content:"✓";color:#10b981;font-weight:700;font-size:1.2rem}.duration-selector{display:flex;gap:1rem;margin:2rem 0;padding:.5rem;background:#f3f4f6;border-radius:8px;flex-wrap:wrap;justify-content:center}.duration-option{flex:1;min-width:180px;max-width:220px;padding:1.5rem 1rem;border:3px solid transparent;background:#fff;border-radius:12px;cursor:pointer;transition:all .3s ease;font-weight:500;text-align:center;position:relative}.duration-option:hover{border-color:#487FFF;transform:translateY(-4px);box-shadow:0 8px 20px rgba(72,127,255,.15)}.duration-option.selected{background:linear-gradient(135deg,#487FFF,#025aa5);color:#fff;border-color:#487FFF;box-shadow:0 8px 25px rgba(72,127,255,.35);transform:scale(1.05)}.duration-discount{display:block;font-size:.75rem;color:#10b981;font-weight:600;margin-top:.25rem}.duration-option.selected .duration-discount{color:#fff}.pricing-summary{background:#f9fafb;border-radius:8px;padding:1.5rem;margin:2rem 0}.pricing-summary-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.95rem}.pricing-summary-row.total{border-top:2px solid #e5e7eb;margin-top:.5rem;padding-top:1rem;font-size:1.25rem;font-weight:700}.pricing-summary-row .discount{color:#10b981;font-weight:600}.checkout-button{width:100%;padding:1rem 2rem;background:#487FFF;color:#fff;border:none;border-radius:8px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.checkout-button:hover{background:#025aa5;transform:translateY(-2px);box-shadow:0 8px 20px rgba(72,127,255,.3)}.checkout-button:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.subscription-status-card{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:2px solid #0ea5e9;border-radius:12px;padding:2rem;margin-bottom:2rem}.subscription-status-card.active{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#10b981}.subscription-status-card.expired{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#ef4444}.subscription-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.subscription-plan-name{font-size:1.75rem;font-weight:700;color:#111827}.subscription-status-badge{padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.9rem}.subscription-status-badge.active{background:#10b981;color:#fff}.subscription-status-badge.expired{background:#ef4444;color:#fff}.subscription-dates{color:#6b7280;font-size:.95rem;margin-top:.5rem}