.template-editor{font-family:Courier New,monospace;font-size:14px;line-height:1.6;border:1px solid #ccc;border-radius:8px;padding:12px;resize:vertical;min-height:300px}.template-editor:focus{border-color:#0d6efd;box-shadow:0 0 0 .2rem #0d6efd40;outline:none}.template-editor::placeholder{color:#6c757d;font-style:italic}.jodit-editor-custom{border-radius:8px!important;overflow:hidden;box-shadow:0 2px 8px #0000001a}.jodit-editor-custom .jodit-toolbar{background:linear-gradient(135deg,#f8f9fa,#e9ecef)!important;border-bottom:1px solid #dee2e6!important;border-radius:8px 8px 0 0!important}.jodit-editor-custom .jodit-toolbar__box{border-radius:8px 8px 0 0!important}.jodit-editor-custom .jodit-toolbar-button{border-radius:4px!important;margin:2px!important;transition:all .2s ease!important}.jodit-editor-custom .jodit-toolbar-button:hover{background-color:#e9ecef!important;transform:translateY(-1px)!important}.jodit-editor-custom .jodit-toolbar-button__trigger{border-radius:4px!important}.jodit-editor-custom .jodit-workplace{background-color:#fff!important;border-radius:0 0 8px 8px!important}.jodit-editor-custom .jodit-wysiwyg{font-family:Helvetica,Arial,sans-serif!important;font-size:14px!important;line-height:1.6!important;padding:10px!important}.jodit-editor-custom .jodit-status-bar{background-color:#f8f9fa!important;border-top:1px solid #dee2e6!important;color:#6c757d!important;border-radius:0 0 8px 8px!important}.jodit-dialog{border-radius:12px!important;box-shadow:0 20px 60px #00000040!important}.jodit-dialog__header{background:linear-gradient(135deg,#0d6efd,#0b5ed7)!important;color:#fff!important;border-radius:12px 12px 0 0!important}.jodit-dialog__body{padding:1.5rem!important}.jodit-dialog__footer{background-color:#f8f9fa!important;border-top:1px solid #e9ecef!important;border-radius:0 0 12px 12px!important;padding:1rem 1.5rem!important}.jodit-dialog__footer .jodit-button{border-radius:8px!important;font-weight:500!important;transition:all .2s ease!important;padding:.5rem 1rem!important}.jodit-dialog__footer .jodit-button:hover{transform:translateY(-1px)!important;box-shadow:0 4px 8px #00000026!important}.jodit-dialog__footer .jodit-button_primary{background-color:#0d6efd!important;border-color:#0d6efd!important;color:#fff!important}.jodit-dialog__footer .jodit-button_secondary{background-color:#6c757d!important;border-color:#6c757d!important;color:#fff!important}.jodit-editor-custom:focus-within{border-color:#0d6efd!important;box-shadow:0 0 0 .2rem #0d6efd40!important}@media(max-width:768px){.jodit-editor-custom .jodit-toolbar{padding:.5rem!important}.jodit-editor-custom .jodit-toolbar-button{margin:1px!important;padding:.25rem!important}.jodit-editor-custom .jodit-wysiwyg{padding:8px!important;font-size:13px!important}}.action-buttons{gap:.75rem}.action-buttons .btn{border-radius:8px;font-weight:500;transition:all .2s ease;box-shadow:0 2px 4px #0000001a}.action-buttons .btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.campaign-card{transition:all .3s ease;border-radius:16px;box-shadow:0 4px 12px #00000014;overflow:hidden;background:linear-gradient(135deg,#fff,#f8f9fa)}.campaign-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px #0000001f}.campaign-card .card-body{padding:1.5rem}.campaign-card .border-top-4{border-top-width:4px!important}.progress-custom{height:12px;border-radius:8px;background-color:#f8f9fa;overflow:hidden;border:1px solid #e9ecef;box-shadow:inset 0 1px 3px #0000001a}.progress-custom .progress-bar{border-radius:8px;transition:width .6s ease;min-width:0;position:relative;overflow:hidden}.progress-custom .progress-bar:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.progress-custom .progress-bar.bg-primary{background-color:#0d6efd!important}.progress-custom .progress-bar.bg-success{background-color:#198754!important}.progress-custom .progress-bar.bg-warning{background-color:#ffc107!important}.progress-custom .progress-bar.bg-danger{background-color:#dc3545!important}.progress-custom .progress-bar.bg-secondary{background-color:#6c757d!important}.progress-custom .progress-bar.progress-bar-striped{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:1rem 1rem}.progress-custom .progress-bar.progress-bar-animated{animation:progress-bar-stripes 1s linear infinite}@keyframes progress-bar-stripes{0%{background-position-x:1rem}to{background-position-x:0}}.action-button{border-radius:8px;font-size:.875rem;font-weight:500;transition:all .2s ease;padding:.5rem 1rem}.action-button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.dropdown-custom .btn{padding:.25rem .5rem;border:none;background:transparent;color:#6c757d;border-radius:6px}.dropdown-custom .btn:hover{background-color:#f8f9fa;color:#495057}.dropdown-custom .dropdown-menu{border-radius:12px;box-shadow:0 8px 24px #00000026;border:1px solid #e9ecef;padding:.5rem 0}.dropdown-custom .dropdown-item{padding:.75rem 1.25rem;font-size:.875rem;transition:all .2s ease;border-radius:0}.dropdown-custom .dropdown-item:hover{background-color:#f8f9fa;color:#495057}.dropdown-custom .dropdown-item:first-child{border-radius:12px 12px 0 0}.dropdown-custom .dropdown-item:last-child{border-radius:0 0 12px 12px}.empty-state{padding:4rem 2rem}.empty-state .display-1{font-size:4rem;opacity:.3}.empty-state h4{font-weight:500;margin-bottom:.5rem}.empty-state p{font-size:1.1rem;margin-bottom:2rem}.modal-custom .modal-content{border-radius:16px;border:none;box-shadow:0 20px 60px #00000040;overflow:hidden}.modal-custom .modal-header,.modal-header-custom{border-bottom:none;padding:1.5rem;background:linear-gradient(135deg,#0d6efd,#0b5ed7);border-radius:16px 16px 0 0;position:relative}.modal-header-custom .btn-close{filter:invert(1);opacity:.8;position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);z-index:10;background:#fff3;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border:none;padding:0}.modal-header-custom .btn-close:hover{opacity:1;background:#ffffff4d;transform:translateY(-50%) scale(1.1)}.modal-header-custom .btn-close:before{content:"×";font-size:1.5rem;font-weight:700;color:#fff;line-height:1}.header-icon-wrapper{background:#fff3;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);transition:all .2s ease}.header-icon-wrapper:hover{background:#ffffff4d;transform:scale(1.05)}.modal-custom .modal-body{padding:0}.modal-custom .modal-footer{border-top:1px solid #e9ecef;padding:1.5rem;border-radius:0 0 16px 16px}.modal-custom .progress{height:8px;border-radius:4px;overflow:hidden}.modal-custom .progress-bar{border-radius:4px;transition:width .6s ease;background:linear-gradient(90deg,#0d6efd,#0b5ed7)}.modal-custom .modal-dialog{transform:scale(.8);transition:transform .3s ease}.modal-custom.show .modal-dialog{transform:scale(1)}.modal-custom .modal-body .text-center{padding:1rem 0}.modal-custom .modal-body .display-4{font-size:3rem;opacity:.8}.modal-custom .nav-tabs{border-bottom:2px solid #e9ecef;padding:0 1.5rem}.modal-custom .nav-tabs .nav-link{border:none;border-radius:8px 8px 0 0;padding:1rem 1.5rem;font-weight:500;color:#6c757d;transition:all .2s ease;margin-right:.5rem}.modal-custom .nav-tabs .nav-link:hover{background-color:#e9ecef;color:#495057}.modal-custom .nav-tabs .nav-link.active{background-color:#fff;color:#0d6efd;border-bottom:3px solid #0d6efd}.modal-custom .tab-pane{padding:2rem}.upload-area{border:2px dashed #28a745!important;transition:all .3s ease;cursor:pointer}.upload-area:hover{border-color:#20c997!important;transform:translateY(-2px)}.upload-area.dragover{border-color:#28a745!important;transform:scale(1.02)}.form-custom .form-label{font-weight:500;color:#495057;margin-bottom:.5rem}.form-custom .form-control,.form-custom .form-select{border-radius:8px;border:2px solid #e9ecef;padding:.75rem 1rem;transition:all .2s ease}.form-custom .form-control:focus,.form-custom .form-select:focus{border-color:#0d6efd;box-shadow:0 0 0 .2rem #0d6efd40}.campaign-card .bg-light{background-color:#f8f9fa!important;border:1px solid #e9ecef;transition:all .2s ease}.campaign-card .bg-light:hover{background-color:#e9ecef!important;transform:translateY(-1px)}.campaign-card .badge{font-weight:600;letter-spacing:.5px}.table-custom{border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.table-custom .table{margin-bottom:0}.table-custom .table th{background-color:#f8f9fa;border-bottom:2px solid #dee2e6;font-weight:600;color:#495057;padding:1rem}.table-custom .table td{padding:1rem;vertical-align:middle}.table-custom .table tbody tr:hover{background-color:#f8f9fa}.template-preview .card{border-radius:8px;border:1px solid #e9ecef;box-shadow:0 2px 8px #0000001a}.template-preview .card-header{background-color:#f8f9fa;border-bottom:1px solid #e9ecef;padding:1rem 1.5rem}.template-preview .card-body{padding:1.5rem}@media(max-width:768px){.action-buttons{flex-direction:column}.action-buttons .btn{width:100%;margin-bottom:.5rem}.campaign-card .card-body{padding:1rem}.modal-custom .modal-body{padding:0}.modal-custom .tab-pane{padding:1rem}.modal-custom .nav-tabs{padding:0 1rem}.modal-custom .nav-tabs .nav-link{padding:.75rem 1rem;font-size:.875rem}.table-custom .table th,.table-custom .table td{padding:.75rem}}.fade-in{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.slide-in{animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}.status-success{color:#198754}.status-warning{color:#ffc107}.status-danger{color:#dc3545}.status-primary{color:#0d6efd}.status-secondary{color:#6c757d}.btn:disabled{opacity:.6;cursor:not-allowed}.spinner-border-sm{width:1rem;height:1rem}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.btn:focus,.form-control:focus,.form-select:focus{box-shadow:0 0 0 .2rem #0d6efd40;border-color:#0d6efd}@media print{.action-buttons,.dropdown-custom,.modal-custom{display:none!important}.campaign-card{break-inside:avoid;box-shadow:none;border:1px solid #dee2e6}}
