body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#242423}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{font-family:Inter,sans-serif;font-size:1rem;line-height:1.5}h1,h2,h3,h4,h5,h6{font-family:Outfit,sans-serif;font-weight:600;line-height:1.25}h1{font-size:4.5rem;color:#2c3e50;font-weight:800;letter-spacing:-.03em;line-height:1.1;text-shadow:0 2px 4px rgba(0,0,0,.1)}h1:after{content:"";position:absolute;bottom:-10px;left:0;width:80px;height:4px;border-radius:2px}h2{font-size:1.875rem}h3{font-size:1.5rem}.cta-button{background:#6332be;color:#fff;font-weight:600;font-size:1.125rem;padding:1rem 2rem;border-radius:8px;border:none;transition:all .2s ease;box-shadow:0 4px 12px #6332be33}.cta-button:hover{background:#7b4ddb;transform:translateY(-1px);box-shadow:0 6px 16px #6332be4d}input,textarea,select{font-family:Inter,sans-serif;font-size:1rem}.nav-link{font-family:Inter,sans-serif;font-size:.875rem;font-weight:500}.AppRoot{min-height:100vh;position:relative;overflow:hidden;background:linear-gradient(135deg,#f8f9fa,#e9ecef,#dee2e6)}.App{position:relative;z-index:1;margin:0 auto}.App-gradient-bg{background:linear-gradient(180deg,#fff 5%,#dbf0ff 20%,#e0f0fe 30%,#f1f8ff)}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion: no-preference){.App-logo{animation:App-logo-spin infinite 20s linear}}.App-header{max-width:1200px;margin:0 auto;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2rem;box-shadow:0 8px 32px #0000001a;min-height:unset;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;color:#2c3e50;border:1px solid rgba(255,255,255,.2)}.App-link{color:#61dafb}@keyframes App-logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.heading-large{font-size:4rem;line-height:1.2;font-weight:400;margin-bottom:2rem}.text-body{font-size:1.5rem;line-height:1.5;color:#4a4a4a;font-weight:400;margin-bottom:3rem;max-width:800px}.pagination{position:fixed;bottom:2rem;right:2rem;font-size:1.25rem}[class*=checkmark]{color:#6332be;margin-right:.75rem;font-size:1.2em}.AppRoot ul{display:grid;gap:.3rem;margin:3rem 0;padding:0;list-style:none}.AppRoot ul li{transition:all .3s ease;color:#2d2d2d}.welcome-text-sub ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin:3rem 0;padding:0;list-style:none}.welcome-text-sub ul li{background:#fdf6ff;padding:1.5rem;border-radius:12px;box-shadow:0 4px 20px #0000000f;transition:all .3s ease;border:8px double #665AA6;color:#2d2d2d}.welcome-text-sub ul li:hover{transform:translateY(-2px);box-shadow:0 8px 30px #0000001a}.AppRoot:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:url(data:image/svg+xml,%3Csvg%20width%3D%2760%27%20height%3D%2760%27%20viewBox%3D%270%200%2060%2060%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cpath%20d%3D%27M54.627%200l.83.828-1.415%201.415L51.8%200h2.827zM5.373%200l-.83.828L5.96%202.243%208.2%200H5.374zM48.97%200l3.657%203.657-1.414%201.414L46.143%200h2.828zM11.03%200L7.372%203.657%208.787%205.07%2013.857%200H11.03zm32.284%200L49.8%206.485%2048.384%207.9l-7.9-7.9h2.83zM16.686%200L10.2%206.485%2011.616%207.9l7.9-7.9h-2.83zM22.344%200L13.858%208.485%2015.272%209.9l7.9-7.9h-.828zm5.656%200L19.515%208.485%2017.343%2010.657l7.9-7.9h2.757zm5.656%200L25.172%208.485%2023%2010.657l7.9-7.9h2.757zm5.656%200L30.828%208.485%2028.656%2010.657l7.9-7.9h2.757zm5.657%200L36.485%208.485%2034.313%2010.657l7.9-7.9h2.757zm5.657%200L42.142%208.485%2039.97%2010.657l7.9-7.9h2.757zm5.657%200L47.8%208.485%2045.627%2010.657l7.9-7.9h2.757zm5.657%200L53.456%208.485%2051.284%2010.657l7.9-7.9h2.757zM48.97%2011.03L52.627%207.372%2054.04%208.787%2048.97%2013.858zm-5.657%205.657L47.97%2012.03%2049.384%2013.444%2044.313%2018.515zm-5.657%205.657L42.313%2017.687%2043.727%2019.1%2038.656%2024.172zm-5.657%205.657L36.656%2023.343%2038.07%2024.757%2027.343%2035.485zm-5.657%205.657L31%2029%2032.414%2030.414%2027.343%2035.485zm-5.657%205.657L25.343%2034.657%2026.757%2036.07%2021.686%2041.142zm-5.657%205.657L19.686%2040.313%2021.1%2041.727%2016.03%2046.8zm-5.657%205.657L14.03%2045.97%2015.444%2047.384%2010.373%2052.456zM16.686%2048.97L10.2%2042.485%2011.616%2041.07l7.9%207.9h-2.83zm5.657%200L13.858%2042.485%2015.272%2041.07l7.9%207.9h-1.485zm5.657%200L19.515%2042.485%2017.343%2040.313l7.9%207.9h2.757zm5.657%200L25.172%2042.485%2023%2040.313l7.9%207.9h2.757zm5.657%200L30.828%2042.485%2028.656%2040.313l7.9%207.9h2.757zm5.657%200L36.485%2042.485%2034.313%2040.313l7.9%207.9h2.757zm5.657%200L42.142%2042.485%2039.97%2040.313l7.9%207.9h2.757zm5.657%200L47.8%2042.485%2045.627%2040.313l7.9%207.9h2.757zm5.657%200L53.456%2042.485%2051.284%2040.313l7.9%207.9h2.757z%27%20fill%3D%27%236332BE%27%20fill-opacity%3D%270.02%27%20fill-rule%3D%27evenodd%27%2F%3E%3C%2Fsvg%3E)}.doc-mgmt-tab-container{padding:20px;max-width:1200px;margin:0 auto;width:100%;box-sizing:border-box}.doc-mgmt-metadata-card{background:#f8f9fa;border:2px solid #e3e6ea;border-radius:8px;padding:20px;margin-bottom:24px}.doc-mgmt-metadata-card h3{margin:0 0 8px;color:#2c3e50;font-size:1.2rem}.doc-mgmt-metadata-description{margin:0 0 20px;color:#6c757d;font-size:.9rem}.doc-mgmt-metadata-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.doc-mgmt-form-group{display:flex;flex-direction:column}.doc-mgmt-form-group label{margin-bottom:6px;font-weight:600;color:#495057;font-size:.9rem}.doc-mgmt-form-group label .required{color:#dc3545;margin-left:2px}.doc-mgmt-input,.doc-mgmt-select{padding:10px 12px;border:1px solid #ced4da;border-radius:4px;font-size:.95rem;transition:border-color .2s ease}.doc-mgmt-input:focus,.doc-mgmt-select:focus{outline:none;border-color:#6c757d;box-shadow:0 0 0 .2rem #6c757d40}.doc-mgmt-input::placeholder{color:#adb5bd}.doc-mgmt-section{margin-bottom:40px;width:100%;box-sizing:border-box}.doc-mgmt-section h2{color:#333;margin-bottom:10px;font-size:24px}.doc-mgmt-description{color:#666;margin-bottom:30px;font-size:14px;line-height:1.6}.doc-mgmt-upload-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:24px;margin-bottom:24px;box-shadow:0 2px 4px #0000000d}.doc-mgmt-upload-card h3{color:#444;margin-bottom:16px;font-size:18px}.doc-mgmt-upload-area{display:flex;flex-direction:column;gap:16px}.doc-mgmt-file-input{padding:12px;border:2px dashed #ccc;border-radius:4px;cursor:pointer;font-size:14px}.doc-mgmt-file-input:hover{border-color:#6c757d}.doc-mgmt-selected-file{display:flex;align-items:center;gap:8px;padding:12px;background:#f5f5f5;border-radius:4px;font-size:14px}.doc-mgmt-file-size{color:#666;font-size:12px}.doc-mgmt-submit-btn{background:#6c757d;color:#fff;border:none;padding:12px 24px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.doc-mgmt-submit-btn:hover:not(:disabled){background:#5a6268}.doc-mgmt-submit-btn:disabled{background:#ccc;cursor:not-allowed}.doc-mgmt-progress-bar{position:relative;width:100%;height:30px;background:#f0f0f0;border-radius:4px;overflow:hidden;margin-top:16px}.doc-mgmt-progress-fill{height:100%;background:linear-gradient(90deg,#6c757d,#868e96);transition:width .3s ease}.doc-mgmt-progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-weight:700;color:#333;font-size:14px}.doc-mgmt-error{background:#ffebee;color:#c62828;padding:12px;border-radius:4px;margin-top:16px;font-size:14px;border-left:4px solid #c62828}.doc-mgmt-result-card{margin-top:24px;border:1px solid #6c757d;border-radius:8px;overflow:hidden}.doc-mgmt-result-header{background:#f8f9fa;padding:12px 16px;border-bottom:1px solid #6c757d}.doc-mgmt-result-success{color:#495057;font-weight:600;font-size:14px}.doc-mgmt-result-body{padding:16px}.doc-mgmt-result-message{color:#333;margin-bottom:16px;font-size:14px;line-height:1.5}.doc-mgmt-result-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:16px}.doc-mgmt-stat-item{display:flex;flex-direction:column;gap:4px}.doc-mgmt-stat-label{color:#666;font-size:12px;font-weight:500}.doc-mgmt-stat-value{color:#333;font-size:18px;font-weight:600}.doc-mgmt-vector-store-info,.doc-mgmt-chunking-info{margin-top:20px;padding:16px;background:#f9f9f9;border-radius:4px}.doc-mgmt-vector-store-info h4,.doc-mgmt-chunking-info h4{color:#444;margin-bottom:12px;font-size:16px}.doc-mgmt-vector-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.doc-mgmt-chunks-preview{margin-top:20px;padding:16px;background:#fafafa;border-radius:4px;border:1px solid #e0e0e0}.doc-mgmt-chunks-preview h4{color:#444;margin-bottom:12px;font-size:16px}.doc-mgmt-chunk-item{padding:12px;background:#fff;border-left:3px solid #6c757d;margin-bottom:12px;border-radius:4px}.doc-mgmt-chunk-item:last-child{margin-bottom:0}.doc-mgmt-chunk-item strong{color:#333;display:block;margin-bottom:8px;font-size:14px}.doc-mgmt-chunk-item p{color:#666;font-size:13px;line-height:1.5;margin:0}.doc-mgmt-supported-formats{margin-top:16px;padding:12px;background:#f5f5f5;border-radius:4px;font-size:13px;color:#666;display:flex;gap:8px;align-items:center}.doc-mgmt-supported-formats strong{color:#333}.doc-mgmt-textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:4px;font-size:14px;font-family:inherit;resize:vertical;margin-bottom:12px}.doc-mgmt-textarea:focus{outline:none;border-color:#6c757d}.doc-mgmt-url-input{width:100%;padding:12px;border:1px solid #ccc;border-radius:4px;font-size:14px;margin-bottom:12px}.doc-mgmt-url-input:focus{outline:none;border-color:#6c757d}.doc-mgmt-table-option{margin:16px 0;padding:16px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:8px}.doc-mgmt-checkbox-label{display:flex;align-items:center;cursor:pointer;font-weight:500;margin-bottom:8px}.doc-mgmt-checkbox{margin-right:12px;transform:scale(1.2);accent-color:#6c757d}.doc-mgmt-checkbox-text{font-size:16px;color:#333}.doc-mgmt-table-description{margin:0;font-size:14px;color:#666;line-height:1.4}.doc-mgmt-chat-section{margin-bottom:0;width:100%;min-width:0;box-sizing:border-box;display:flex;flex-direction:column}.doc-mgmt-chat-section h2{display:none}@media (max-width: 768px){.doc-mgmt-tab-container{padding:16px}.doc-mgmt-result-stats,.doc-mgmt-vector-stats{grid-template-columns:1fr}.doc-mgmt-upload-card{padding:16px}}.doc-mgmt-chat-container{display:flex;flex-direction:column;width:100%!important;min-width:100%!important;height:calc(100vh - 200px);min-height:600px;max-height:800px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000000d;overflow:hidden;box-sizing:border-box;flex-shrink:0!important;position:relative}.doc-mgmt-chat-messages{flex:1 1 0;overflow-y:auto;overflow-x:hidden;padding:20px;display:flex;flex-direction:column;gap:16px;background:#f8f9fa;width:100%!important;min-width:0;min-height:0;max-width:100%!important;box-sizing:border-box}.doc-mgmt-chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6c757d;text-align:center;padding:40px 20px}.doc-mgmt-chat-empty-icon{font-size:48px;margin-bottom:16px;opacity:.6}.doc-mgmt-chat-empty-text{font-size:18px;font-weight:500;color:#495057;margin:0 0 8px}.doc-mgmt-chat-empty-hint{font-size:14px;color:#6c757d;margin:0;opacity:.8}.doc-mgmt-chat-message{max-width:75%;min-width:0;padding:12px 16px;border-radius:12px;position:relative;line-height:1.5;font-size:14px;word-wrap:break-word;word-break:break-word;animation:slideIn .3s ease-out;box-sizing:border-box}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.doc-mgmt-chat-message-user{background:#6c757d;color:#fff;margin-left:auto;border-bottom-right-radius:4px}.doc-mgmt-chat-message-assistant{background:#fff;color:#2c3e50;margin-right:auto;border:1px solid #e0e0e0;border-bottom-left-radius:4px}.doc-mgmt-chat-message-content{margin-bottom:4px}.doc-mgmt-chat-message-timestamp{font-size:11px;opacity:.7;text-align:right;margin-top:4px}.doc-mgmt-chat-message-assistant .doc-mgmt-chat-message-timestamp{color:#6c757d}.doc-mgmt-chat-message-user .doc-mgmt-chat-message-timestamp{color:#fffc}.doc-mgmt-chat-loading{display:flex;align-items:center;gap:6px;padding:8px 0}.doc-mgmt-chat-loading span{width:8px;height:8px;border-radius:50%;background:#6c757d;display:inline-block;animation:loadingBounce 1.4s infinite ease-in-out both}.doc-mgmt-chat-loading span:nth-child(1){animation-delay:-.32s}.doc-mgmt-chat-loading span:nth-child(2){animation-delay:-.16s}.doc-mgmt-chat-loading span:nth-child(3){animation-delay:0}@keyframes loadingBounce{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.doc-mgmt-chat-message-error{background:#fff5f5;border-color:#fc8181;color:#c53030}.doc-mgmt-chat-message-error .doc-mgmt-chat-message-timestamp{color:#c53030;opacity:.8}.doc-mgmt-chat-input-container{display:flex;align-items:flex-end;gap:12px;padding:16px;border-top:1px solid #e0e0e0;background:#fff;width:100%;box-sizing:border-box;flex-shrink:0}.doc-mgmt-chat-input{flex:1;padding:12px 16px;border:1px solid #ced4da;border-radius:20px;font-size:14px;font-family:inherit;resize:none;max-height:120px;min-height:44px;line-height:1.5;transition:border-color .2s ease,box-shadow .2s ease;background:#f8f9fa}.doc-mgmt-chat-input:focus{outline:none;border-color:#6c757d;background:#fff;box-shadow:0 0 0 .2rem #6c757d40}.doc-mgmt-chat-input::placeholder{color:#adb5bd}.doc-mgmt-chat-send-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#6c757d;color:#fff;border:none;border-radius:50%;cursor:pointer;transition:background .2s ease,transform .2s ease;flex-shrink:0}.doc-mgmt-chat-send-button:hover:not(:disabled){background:#5a6268;transform:scale(1.05)}.doc-mgmt-chat-send-button:active:not(:disabled){transform:scale(.95)}.doc-mgmt-chat-send-button:disabled{background:#ced4da;cursor:not-allowed;opacity:.6}.doc-mgmt-chat-messages::-webkit-scrollbar{width:8px}.doc-mgmt-chat-messages::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.doc-mgmt-chat-messages::-webkit-scrollbar-thumb{background:#6c757d;border-radius:4px}.doc-mgmt-chat-messages::-webkit-scrollbar-thumb:hover{background:#5a6268}@media (max-width: 768px){.doc-mgmt-chat-container{height:calc(100vh - 150px);min-height:500px;border-radius:0;border-left:none;border-right:none}.doc-mgmt-chat-message{max-width:85%;padding:10px 14px;font-size:13px}.doc-mgmt-chat-messages{padding:16px}.doc-mgmt-chat-input-container{padding:12px}.doc-mgmt-chat-send-button{width:40px;height:40px}}@media (max-width: 576px){.doc-mgmt-chat-container{height:calc(100vh - 120px);min-height:400px}.doc-mgmt-chat-message{max-width:90%;font-size:12px}.doc-mgmt-chat-empty-icon{font-size:36px}.doc-mgmt-chat-empty-text{font-size:16px}.doc-mgmt-chat-empty-hint{font-size:12px}}.web-chat-conversations-container{padding:24px;height:100%;display:flex;flex-direction:column;background-color:#f5f5f5}.web-chat-conversations-header{margin-bottom:24px}.web-chat-conversations-header h2{margin:0 0 8px;font-size:24px;font-weight:600;color:#333}.web-chat-conversations-subtitle{margin:0;color:#666;font-size:14px}.web-chat-conversations-loading,.web-chat-conversations-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;text-align:center}.loading-spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top-color:#4a90e2;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}.retry-button{margin-top:16px;padding:8px 16px;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.retry-button:hover{background-color:#357abd}.web-chat-conversations-layout{display:flex;gap:24px;flex:1;min-height:0}.web-chat-conversations-list{width:400px;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;overflow:hidden}.conversations-list-header{padding:16px;border-bottom:1px solid #e0e0e0;background-color:#f9f9f9}.conversations-list-header h3{margin:0;font-size:16px;font-weight:600;color:#333}.conversations-list-content{flex:1;overflow-y:auto;padding:8px}.empty-conversations{padding:48px 16px;text-align:center;color:#999}.conversation-item{padding:12px;margin-bottom:8px;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s;background:#fff}.conversation-item:hover{background-color:#f5f5f5;border-color:#4a90e2}.conversation-item.active{background-color:#e3f2fd;border-color:#4a90e2}.conversation-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.conversation-item-id{font-size:12px;font-weight:600;color:#4a90e2;font-family:monospace}.conversation-item-date{font-size:11px;color:#999}.conversation-item-preview{font-size:13px;color:#666;margin-bottom:8px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.conversation-item-meta{display:flex;gap:12px;align-items:center;font-size:11px;color:#999}.message-count{font-weight:500}.booking-status{padding:2px 6px;background-color:#e3f2fd;border-radius:3px;color:#4a90e2}.feedback-rating-compact{padding:2px 6px;font-size:12px;margin:0}.feedback-resuelto-badge{display:inline-block;padding:2px 6px;border-radius:3px;font-size:11px;font-weight:500;background-color:#e8f5e9;color:#2e7d32}.feedback-resuelto-compact{padding:2px 6px;font-size:11px;margin:0}.web-chat-conversation-detail{flex:1;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;overflow:hidden}.conversation-detail-header{padding:20px;border-bottom:1px solid #e0e0e0;background-color:#f9f9f9}.conversation-detail-header h3{margin:0 0 8px;font-size:20px;font-weight:600;color:#333}.conversation-thread-id{margin:0 0 16px;font-size:12px;color:#666;font-family:monospace}.conversation-detail-meta{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#666}.conversation-detail-meta>div{display:flex;gap:8px}.conversation-detail-meta strong{color:#333;min-width:120px}.booking-context-info{margin-top:12px;padding-top:12px;border-top:1px solid #e0e0e0}.booking-context-details{margin-top:8px;display:flex;flex-direction:column;gap:4px}.collected-data{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.collected-data span{padding:4px 8px;background-color:#e3f2fd;border-radius:4px;font-size:12px;color:#4a90e2}.conversation-messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:16px}.conversation-message{display:flex;flex-direction:column;max-width:80%;animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.conversation-message-user{align-self:flex-end}.conversation-message-assistant{align-self:flex-start}.message-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:12px}.message-role{font-weight:600;color:#666}.message-timestamp{color:#999;font-size:11px}.message-content{padding:12px 16px;border-radius:12px;line-height:1.5;word-wrap:break-word}.conversation-message-user .message-content{background-color:#4a90e2;color:#fff;border-bottom-right-radius:4px}.conversation-message-assistant .message-content{background-color:#e0e0e0;color:#333;border-bottom-left-radius:4px}.no-messages,.no-conversation-selected{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;text-align:center;color:#999}.no-selection-icon{font-size:48px;margin-bottom:16px}.conversations-list-content::-webkit-scrollbar,.conversation-messages::-webkit-scrollbar{width:8px}.conversations-list-content::-webkit-scrollbar-track,.conversation-messages::-webkit-scrollbar-track{background:#f1f1f1}.conversations-list-content::-webkit-scrollbar-thumb,.conversation-messages::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.conversations-list-content::-webkit-scrollbar-thumb:hover,.conversation-messages::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.conversation-feedback-section{margin-top:16px;padding:16px;background-color:#f0f7ff;border:1px solid #d0e3f5;border-radius:8px;display:flex;flex-direction:column;gap:12px;box-shadow:0 2px 4px #0000000d}.feedback-toggle-button{padding:8px 16px;background-color:#4a90e2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:background-color .2s;width:fit-content;align-self:flex-start}.feedback-toggle-button:hover{background-color:#357abd}.feedback-display{margin-top:12px;padding:12px;background-color:#f9f9f9;border-radius:6px;border:1px solid #e0e0e0}.feedback-display-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;flex-wrap:wrap}.feedback-resuelto-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:#666;-webkit-user-select:none;user-select:none}.feedback-resuelto-toggle input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#4a90e2}.feedback-resuelto-toggle:hover{color:#4a90e2}.feedback-rating{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;margin-right:8px;margin-bottom:8px}.feedback-rating-positive{background-color:#e8f5e9;color:#2e7d32}.feedback-rating-negative{background-color:#ffebee;color:#c62828}.feedback-rating-neutral{background-color:#fff3e0;color:#e65100}.feedback-labels{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.feedback-label{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background-color:#e3f2fd;color:#1976d2;border-radius:12px;font-size:11px;font-weight:500}.feedback-label button{background:none;border:none;color:#1976d2;cursor:pointer;font-size:14px;padding:0;margin-left:4px;line-height:1}.feedback-label button:hover{color:#0d47a1}.feedback-comment{margin-top:8px;padding:8px;background-color:#fff;border-radius:4px;font-size:12px;color:#666;line-height:1.4}.feedback-editor,.message-feedback-editor{margin-top:12px;padding:16px;background-color:#f9f9f9;border-radius:6px;border:1px solid #e0e0e0}.feedback-rating-buttons{display:flex;gap:8px;margin-bottom:12px}.rating-button{flex:1;padding:8px 12px;background-color:#fff;border:2px solid #e0e0e0;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.rating-button:hover{border-color:#4a90e2;background-color:#f5f5f5}.rating-button.active{border-color:#4a90e2;background-color:#e3f2fd;color:#1976d2;font-weight:600}.feedback-comment-input{width:100%;padding:10px;border:1px solid #e0e0e0;border-radius:4px;font-size:13px;font-family:inherit;resize:vertical;margin-bottom:12px;box-sizing:border-box}.feedback-comment-input:focus{outline:none;border-color:#4a90e2}.feedback-labels-section{margin-bottom:12px}.feedback-labels-display{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.feedback-labels-options{display:flex;flex-wrap:wrap;gap:6px}.label-add-button{padding:4px 10px;background-color:#fff;border:1px solid #e0e0e0;border-radius:12px;cursor:pointer;font-size:11px;color:#666;transition:all .2s}.label-add-button:hover{background-color:#e3f2fd;border-color:#4a90e2;color:#1976d2}.feedback-actions{display:flex;gap:8px;margin-top:12px}.feedback-save-button,.feedback-cancel-button,.feedback-delete-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:background-color .2s}.feedback-save-button{background-color:#4a90e2;color:#fff}.feedback-save-button:hover{background-color:#357abd}.feedback-cancel-button{background-color:#e0e0e0;color:#666}.feedback-cancel-button:hover{background-color:#d0d0d0}.feedback-delete-button{background-color:#e74c3c;color:#fff;margin-left:auto}.feedback-delete-button:hover{background-color:#c0392b}.message-feedback-section{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.3)}.conversation-message-assistant .message-feedback-section{border-top-color:#0000001a}.message-feedback-button{padding:6px 12px;background-color:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:4px;cursor:pointer;font-size:12px;transition:all .2s}.conversation-message-assistant .message-feedback-button{background-color:#f5f5f5;color:#666;border-color:#e0e0e0}.message-feedback-button:hover{background-color:#ffffff4d}.conversation-message-assistant .message-feedback-button:hover{background-color:#e0e0e0}.message-feedback-display{margin-top:8px;padding:10px;background-color:#ffffff26;border-radius:6px;border:1px solid rgba(255,255,255,.2)}.conversation-message-assistant .message-feedback-display{background-color:#f9f9f9;border-color:#e0e0e0}.message-feedback-display .feedback-rating,.message-feedback-display .feedback-label{background-color:#ffffff4d}.conversation-message-assistant .message-feedback-display .feedback-rating,.conversation-message-assistant .message-feedback-display .feedback-label{background-color:#e3f2fd}.message-feedback-display .feedback-comment{background-color:#fff3;color:#ffffffe6}.conversation-message-assistant .message-feedback-display .feedback-comment{background-color:#fff;color:#666}.message-feedback-editor{background-color:#fff3;border-color:#ffffff4d}.conversation-message-assistant .message-feedback-editor{background-color:#f9f9f9;border-color:#e0e0e0}@media (max-width: 1024px){.web-chat-conversations-layout{flex-direction:column}.web-chat-conversations-list{width:100%;max-height:300px}.conversation-message{max-width:90%}.feedback-rating-buttons{flex-direction:column}.rating-button{width:100%}}.vertical-sidebar{position:fixed;top:0;left:0;width:280px;height:100vh;background:#fff;border-right:1px solid #bababa;display:flex;flex-direction:column;z-index:1000;transition:width .3s ease;box-shadow:4px 0 12px #0000000d,1px 0 4px #0000000d;font-family:Satoshi,sans-serif!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.vertical-sidebar[style*=width]{transition:none}.vertical-sidebar.collapsed{width:60px}.sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:1rem;border-bottom:1px solid #e5e7eb;min-height:60px;position:relative;overflow:hidden}.sidebar-header:after{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(to right,#6b6b6b,#9e9e9e);z-index:1}.sidebar-header:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(https://copyscheduler.s3.us-east-1.amazonaws.com/grain3.png);background-repeat:repeat;mix-blend-mode:multiply;opacity:.1;pointer-events:none;z-index:0}.sidebar-logo{display:flex;align-items:center;gap:.75rem;position:relative;z-index:2}.logo-icon{width:32px;height:32px;background:linear-gradient(135deg,#6b6b6b,#9e9e9e);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff}.logo-text{font-weight:700;font-size:1.125rem;color:#1e2329;font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:600;letter-spacing:.1px}.collapse-btn{background:none;border:none;padding:.5rem;border-radius:4px;cursor:pointer;color:#6b7280;font-size:.875rem;transition:all .2s;position:relative;z-index:2}.collapse-btn:hover{background:#f3f4f6;color:#374151}.business-info{padding:1rem;border-bottom:1px solid #e5e7eb;background:#f9fafb;position:relative;z-index:2}.business-name{color:#1e2329;font-size:.875rem;margin-bottom:.25rem;font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:600;letter-spacing:.1px}.business-email{color:#4c5560;font-size:.75rem;font-weight:600}.sidebar-nav{flex:1;padding:1.5rem 0;overflow-y:auto}.nav-section{margin-bottom:2.5rem}.nav-section-title{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;padding:0 1.5rem .75rem;margin-bottom:.75rem;font-family:Satoshi,sans-serif}.nav-item-container{margin-bottom:.25rem}.nav-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;background:none;border:none;text-align:left;cursor:pointer;transition:all .2s;color:#374151;font-size:.875rem;position:relative;font-family:Satoshi,sans-serif}.nav-item:hover{background:#f3f4f6;color:#1f2937}.nav-item.active{background:#dea0011a;color:#6b6b6b;font-weight:500}.nav-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#6b6b6b}.nav-icon{font-size:1rem;width:20px;height:20px;text-align:center;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#374151}.nav-icon svg{width:100%;height:100%;color:inherit;fill:currentColor}.nav-item.active .nav-icon{color:#6b6b6b}.nav-item:hover .nav-icon{color:#1f2937}.nav-text{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:Satoshi,sans-serif}.sub-sections{margin-left:2.5rem;margin-top:.5rem;border-left:1px solid #e5e7eb}.sub-section{width:100%;display:flex;align-items:center;padding:.625rem 1.5rem;background:none;border:none;text-align:left;cursor:pointer;transition:all .2s;color:#6b7280;font-size:.8rem;position:relative;font-family:Satoshi,sans-serif}.sub-section:hover{background:#f9fafb;color:#374151}.sub-section.active{background:#dea0011a;color:#6b6b6b;font-weight:500}.sub-section.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:#6b6b6b}.vertical-sidebar.collapsed .nav-text,.vertical-sidebar.collapsed .logo-text,.vertical-sidebar.collapsed .business-info,.vertical-sidebar.collapsed .nav-section-title,.vertical-sidebar.collapsed .sub-sections{display:none}.vertical-sidebar.collapsed .nav-item{justify-content:center;padding:.75rem}.vertical-sidebar.collapsed .nav-item .nav-icon{margin:0}.sidebar-drag-handle{position:absolute;right:0;top:0;bottom:0;width:6px;background:transparent;cursor:col-resize;z-index:10;transition:all .2s ease;border-radius:2px 0 0 2px}.sidebar-drag-handle:before{content:"";position:absolute;right:2px;top:50%;transform:translateY(-50%);width:2px;height:20px;background:#0000001a;border-radius:1px;opacity:0;transition:opacity .2s ease}.vertical-sidebar:hover .sidebar-drag-handle:before{opacity:1}.sidebar-drag-handle:hover{background:#dea0014d}.sidebar-drag-handle:active{background:#dea00199}.vertical-sidebar.dragging .sidebar-drag-handle{background:#dea001cc;width:8px}.vertical-sidebar.near-collapse{border-right-color:#6b6b6b;box-shadow:4px 0 12px #dea00133,1px 0 4px #dea00133}.vertical-sidebar.dragging{overflow:hidden}.vertical-sidebar.dragging .nav-text,.vertical-sidebar.dragging .logo-text,.vertical-sidebar.dragging .business-info,.vertical-sidebar.dragging .nav-section-title,.vertical-sidebar.dragging .sub-sections{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 768px){.vertical-sidebar{width:280px;max-width:85vw;transform:translate(-100%);transition:transform .3s ease;position:fixed;top:0;left:0;height:100vh;z-index:1002;box-shadow:4px 0 12px #00000026}.sidebar-drag-handle{display:none}.vertical-sidebar.mobile-open{transform:translate(0)}.vertical-sidebar.collapsed{width:280px;max-width:85vw;transform:translate(-100%)}.business-info{display:none}.mobile-overlay{position:fixed;top:0;left:280px;right:0;bottom:0;z-index:1000;width:calc(100vw - 280px)}.sidebar-header:before{display:none}.header-actions{display:flex;align-items:center;gap:.5rem}.mobile-close-btn{background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;padding:.5rem;border-radius:4px;transition:all .2s ease;position:relative;z-index:2}.mobile-close-btn:hover{background:#f3f4f6;color:#374151}}@media (max-width: 480px){.vertical-sidebar{width:100%;max-width:100vw}.sidebar-header,.nav-item{padding:.75rem}.sub-section{padding:.5rem .75rem}}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-track{background:#f1f5f9}.sidebar-nav::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background:#94a3b8}.admin-dashboard-container{display:flex;min-height:100vh;background-color:#f6f7f8;font-family:Satoshi,sans-serif!important}.mobile-header{display:none;position:fixed;top:0;left:0;right:0;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a;z-index:1001;padding:1rem;align-items:center;justify-content:space-between;min-height:4rem}.mobile-menu-toggle{background:#6b6b6b;border:none;padding:.75rem;cursor:pointer;border-radius:8px;transition:all .2s ease;box-shadow:0 2px 8px #00000026;display:flex;align-items:center;justify-content:center}.mobile-menu-toggle:hover{background:#424242;transform:scale(1.05)}.mobile-menu-toggle:active{transform:scale(.95)}.business-info-header{display:flex;flex-direction:column;align-items:flex-end;text-align:right;flex:1;margin-left:1rem}.business-name-header{font-family:Satoshi,sans-serif;font-weight:600;font-size:1rem;color:#1f2937;line-height:1.2}.business-email-header{font-family:Satoshi,sans-serif;font-weight:400;font-size:.875rem;color:#6b7280;line-height:1.2;margin-top:.25rem}.hamburger-icon{display:flex;flex-direction:column;width:24px;height:18px;justify-content:space-between;align-items:center}.hamburger-icon span{display:block;height:3px;width:100%;background:#fff;border-radius:2px;transition:all .3s ease;transform-origin:center}.mobile-menu-toggle:hover .hamburger-icon span:nth-child(1){transform:translateY(1px)}.mobile-menu-toggle:hover .hamburger-icon span:nth-child(3){transform:translateY(-1px)}.admin-dashboard-main{flex:1;margin-left:280px;display:flex;flex-direction:column;min-height:100vh;transition:margin-left .3s ease}.admin-dashboard-container.sidebar-collapsed .admin-dashboard-main{margin-left:60px}.admin-dashboard-main[style*=margin-left]{transition:none}.admin-dashboard-content{flex:1;padding:2rem;background:#fff;margin:1rem;border-radius:12px;box-shadow:0 1px 2px #0000000a;border:1px solid rgba(0,0,0,.1)}.admin-dashboard-header{padding:1rem 2rem;background:#fff;border-bottom:1px solid #e5e7eb;margin:1rem;border-radius:12px;box-shadow:0 1px 2px #0000000a}.admin-dashboard-title h1{margin:0;font-size:1.5rem;font-weight:700;color:#1f2937}.admin-dashboard-subtitle{margin:.25rem 0 0;color:#6b7280;font-size:.875rem}@media (max-width: 768px){.mobile-header{display:flex}.admin-dashboard-main{margin-left:0;width:100%;overflow-x:hidden;padding-top:5rem}.admin-dashboard-content{margin:0;padding:1rem;width:100%;box-sizing:border-box;overflow-x:hidden}.admin-dashboard-header{margin:0;padding:1rem;width:100%;box-sizing:border-box}*{max-width:100%;box-sizing:border-box}.admin-dashboard-section{padding:1rem;margin:0 0 1rem;width:100%;box-sizing:border-box;overflow-x:hidden}.device-item{flex-direction:column;align-items:flex-start;gap:1rem}.device-info{width:100%}.device-actions{width:100%;display:flex;gap:.5rem}.device-actions button{flex:1;min-width:0;font-size:.875rem;padding:.5rem .75rem}.form-group input,.form-group select{width:100%!important;max-width:100%;box-sizing:border-box}.create-device-btn,.submit-device-btn,.toggle-status-btn,.delete-device-btn{width:100%;max-width:100%;box-sizing:border-box;word-wrap:break-word;white-space:normal}}@media (max-width: 480px){.mobile-header{padding:.75rem}.business-name-header{font-size:.9rem}.business-email-header{font-size:.8rem}.admin-dashboard-main{padding-top:4.5rem}.admin-dashboard-content{margin:0;padding:.75rem;width:100%;box-sizing:border-box;overflow-x:hidden}.admin-dashboard-header{margin:0;padding:.75rem;width:100%;box-sizing:border-box}*{max-width:100%;box-sizing:border-box}.device-actions button{font-size:.8rem;padding:.4rem .6rem}.admin-dashboard-section{padding:.75rem}}.admin-dashboard{min-height:100vh;background-color:#f6f7f8;padding:2rem;font-family:Satoshi,sans-serif!important}.referral-link-section-container{margin-bottom:1rem!important}.tracking-dashboard-container{min-height:100vh;background-color:#f6f7f8;display:flex;align-items:flex-start;justify-content:center;padding:2rem;font-family:Satoshi,sans-serif!important}.tracking-content{background:#fff;border-radius:12px;box-shadow:0 1px 2px #0000000a;padding:2rem;width:100%;border:1px solid rgba(0,0,0,.1);min-height:100vh!important}.tabs-container{margin-bottom:2rem}.tabs-header{display:flex;gap:.5rem;border-bottom:1px solid rgba(0,0,0,.1);margin-bottom:2rem}.tab-button{background:#fafafa;border:1px solid rgba(0,0,0,.05);color:#5b6570;padding:.75rem 1.5rem;font-family:Satoshi,sans-serif;font-size:1rem;font-weight:500;cursor:pointer;border-radius:6px 6px 0 0;transition:all .2s ease;border-bottom:2px solid transparent}.tab-button:hover{color:#14171b;background:#0000000d}.tab-button.active{color:#6b6b6b;border-bottom-color:#6b6b6b;background:#dea0011a}.admin-dashboard-loading,.admin-dashboard-error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;text-align:center;color:#14171b}.admin-dashboard-spinner{width:40px;height:40px;border:4px solid rgba(0,0,0,.1);border-top:4px solid #6B6B6B;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.admin-dashboard-error h2{color:#dc3545;margin-bottom:10px;font-family:Satoshi,sans-serif;font-weight:600}.admin-dashboard-error button{background:#6b6b6b;color:#fff;border:none;padding:1rem 2rem;border-radius:6px;cursor:pointer;margin-top:15px;font-family:Satoshi,sans-serif;font-weight:600;font-size:1rem;transition:all .2s ease}.admin-dashboard-error button:hover{background:#424242;transform:translateY(-1px);box-shadow:0 6px 16px #dea0014d}.admin-dashboard-header{display:flex;align-items:center;justify-content:space-between;position:relative;padding:1.25rem 1.75rem;margin-bottom:30px;background-color:#fff;border-radius:12px;box-shadow:0 4px 12px #0000000d,0 1px 4px #0000000d;min-height:90px;overflow:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;border:1px solid #bababa}.admin-dashboard-header:after{content:"";position:absolute;top:0;left:0;right:0;height:5px;z-index:1}.admin-dashboard-header:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(https://copyscheduler.s3.us-east-1.amazonaws.com/grain3.png);background-repeat:repeat;mix-blend-mode:multiply;opacity:.1;pointer-events:none;z-index:0}.admin-dashboard-title{display:flex;flex-direction:column;gap:2px;position:relative;z-index:2}.admin-dashboard-title h1{margin:0;color:#1e2329;font-family:Koulen,sans-serif;font-size:24px;font-weight:600;letter-spacing:.1px}.admin-dashboard-subtitle{margin:0;color:#4c5560;font-family:Satoshi,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;font-weight:600}.admin-dashboard-actions{display:flex;align-items:center;gap:10px;position:relative;z-index:2}.admin-dashboard-cta-btn{background:#2a6fdb;color:#fff;border:1px solid rgba(0,0,0,.06);padding:.6rem 1.1rem;border-radius:8px;font-weight:700;font-size:.92rem;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease}.admin-dashboard-cta-btn:hover{background:#255fc0;transform:translateY(-1px);box-shadow:0 8px 18px #2a6fdb2e}.admin-dashboard-cta-btn:focus-visible{outline:3px solid rgba(42,111,219,.35);outline-offset:2px}.admin-dashboard-referrals-form-btn{background:#fafafa;color:#14171b;border:1px solid rgba(0,0,0,.12);padding:.6rem 1rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem;transition:transform .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}.admin-dashboard-referrals-form-btn:hover{background:#fff;border-color:#0000002e;transform:translateY(-1px);box-shadow:0 6px 14px #0000000f}.admin-dashboard-referrals-form-btn:focus-visible{outline:3px solid rgba(20,23,27,.2);outline-offset:2px}.admin-dashboard-logout-btn{background:#fafafa;color:#14171b;border:1px solid rgba(0,0,0,.12);padding:.6rem 1rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:.9rem;transition:transform .15s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease}.admin-dashboard-logout-btn:hover{background:#fff;border-color:#0000002e;transform:translateY(-1px);box-shadow:0 6px 14px #0000000f}.admin-dashboard-logout-btn:focus-visible{outline:3px solid rgba(20,23,27,.2);outline-offset:2px}@media (max-width: 640px){.admin-dashboard-header{padding:1rem 1.25rem}.admin-dashboard-title h1{font-size:20px}.admin-dashboard-subtitle{font-size:14px}.admin-dashboard-header:before{display:none}.admin-dashboard-header>div:last-child{flex-direction:column;gap:8px;width:100%}.admin-dashboard-referrals-form-btn,.admin-dashboard-logout-btn{width:100%;text-align:center}}.admin-dashboard-content{display:flex;flex-direction:column}.admin-dashboard-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 1px 2px #0000000a;border:1px solid rgba(0,0,0,.1);margin-bottom:2rem}.admin-dashboard-section h2{margin:0 0 8px;color:#6b6b6b;text-align:left;font-weight:600;font-family:Koulen,sans-serif;font-optical-sizing:auto;font-variation-settings:"wdth" 100;font-size:20px;border-bottom:2px solid #6B6B6B;padding-bottom:10px}.admin-dashboard-section p{margin:0 0 20px;color:#5b6570;font-size:16px;font-family:Satoshi,sans-serif;font-weight:500}.referral-form-container{background:transparent!important}.referral-form-container .admin-dashboard-section{background:#fafafa;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:1.5rem;box-shadow:none!important;margin-bottom:1rem!important}.referral-form-container{border:none!important}.referral-form-container_{box-shadow:none!important;border:1px solid rgba(0,0,0,.1)!important;padding:2rem;border-radius:8px!important}referral-form-container_ div{border:none!important}.devices-header{margin-bottom:20px}.create-device-btn{font-weight:700;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;transition:all .2s ease;font-family:Satoshi,sans-serif;font-size:.9rem;color:#6b6b6b;background:#de9f011e;border:1px solid #6B6B6B}.create-device-btn:hover{transform:translateY(-1px)}.create-device-form{background:#ffffff0d;border-radius:8px;padding:1.5rem;margin-bottom:20px;border:1px solid rgba(255,255,255,.1)}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;color:#6b6b6b;font-weight:700;font-family:Satoshi,sans-serif;font-size:1rem}.form-group input{width:100%;padding:.75rem;border:1px solid rgba(0,0,0,.1);border-radius:6px;background:#fff!important;color:#14171b!important;font-family:Satoshi,sans-serif;font-size:.9rem}.form-group input:focus{outline:none;border-color:#00000029;box-shadow:0 0 0 3px #dea0012e}.form-group input::placeholder{color:#8c96a1}.submit-device-btn{background:#28a745;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-weight:600;transition:all .2s ease;font-family:Satoshi,sans-serif;font-size:.9rem}.submit-device-btn:hover:not(:disabled){background:#218838;transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d}.submit-device-btn:disabled{opacity:.6;cursor:not-allowed}.devices-list{display:flex;flex-direction:column;gap:12px;margin-bottom:2rem;background:#fafafa;border:1px solid rgba(0,0,0,.1);padding:1.5rem}.devices-empty{color:#fff9;font-style:italic;text-align:center;padding:20px;font-family:Satoshi,sans-serif}.device-item{display:flex;justify-content:space-between;align-items:center;padding:16px;border-radius:8px;border:1px solid rgba(0,0,0,.1);transition:all .2s ease;box-shadow:0 2px 6px #00000014!important;margin-bottom:1rem;box-sizing:border-box;width:100%;max-width:100%}.device-info{flex:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word}.device-name{font-weight:600;font-family:Satoshi,sans-serif;font-size:16px;margin-bottom:4px}.device-id{color:#ffffffb3;font-family:Satoshi,sans-serif;font-size:16px;margin-bottom:4px}.device-status{font-family:Satoshi,sans-serif;font-size:16px;margin-bottom:4px}.status-badge{margin-left:8px;padding:2px 8px;border-radius:4px;font-size:16px;font-weight:600}.status-badge.active{background:#28a74533;color:#28a745;border:1px solid rgba(40,167,69,.3)}.status-badge.inactive{background:#dc354533;color:#dc3545;border:1px solid rgba(220,53,69,.3)}.status-badge.pending{background:#9e9e9e33;color:#9e9e9e;border:1px solid rgba(158,158,158,.3)}.status-badge.redeemed{background:#28a74533;color:#28a745;border:1px solid rgba(40,167,69,.3)}.device-last-seen{font-family:Satoshi,sans-serif;font-size:16px}.device-actions{display:flex;gap:8px;flex-shrink:0;flex-direction:column;margin-left:1rem;min-width:0}.toggle-status-btn{padding:.5rem 1rem;border:none;border-radius:4px;cursor:pointer;font-weight:600;font-family:Satoshi,sans-serif;font-size:.8rem;transition:all .2s ease}.toggle-status-btn.activate{background:#28a745cc}.toggle-status-btn.activate:hover{background:#28a745;transform:translateY(-1px)}.toggle-status-btn.deactivate{background:#6b6b6b;color:#fff}.toggle-status-btn.deactivate:hover{background:#6b6b6b;transform:translateY(-1px)}.delete-device-btn{padding:.5rem 1rem;background:#e8e9e9;border:1px solid rgba(0,0,0,.1);border-radius:4px;cursor:pointer;font-weight:600;font-family:Satoshi,sans-serif;font-size:.8rem;transition:all .2s ease}.delete-device-btn:hover{background:#f0f1f1;transform:translateY(-1px)}.business-overview{text-align:left;padding:2rem 1rem}.business-overview h2{font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100;color:#6b6b6b;font-size:28px;margin:0 0 1rem;text-align:left}.business-overview p{font-family:Satoshi,sans-serif;color:#fffc;margin:0;font-size:1rem}.tab-content{max-width:none!important;width:85%!important;margin:auto!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:8px!important;padding:1.5rem!important}.referral-form-container{text-align:left;width:auto!important;max-width:none!important;box-shadow:none!important;border:1px solid rgba(0,0,0,.1)!important}.referral-form{display:flex;flex-direction:column;gap:2rem}.form-section{background:#222;border:none!important;border-radius:8px;padding:1.5rem}.form-section h3{font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100;color:#6b6b6b;font-size:20px;margin:0 0 1.5rem;text-align:left}.form-input,.form-textarea{padding:.75rem;border:1px solid rgba(255,255,255,.2);border-radius:6px;font-family:Satoshi,sans-serif;font-size:.95rem;background:#ffffff1a;color:#fff;transition:all .2s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.form-input:focus,.form-textarea:focus{outline:none;border-color:#6b6b6b;box-shadow:0 0 0 3px #dea0011a;background:#ffffff26}.form-textarea{min-height:100px;resize:vertical}.checkbox-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-family:Satoshi,sans-serif;font-size:.95rem;color:#ffffffe6;margin-bottom:.5rem}.form-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#6B6B6B}.date-range-container,.time-range-container{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem;padding:1rem;background:#ffffff0d;border-radius:6px;border:1px solid rgba(255,255,255,.1)}.redemption-settings{margin-top:1rem;padding:1rem;background:#ffffff0d;border-radius:6px;border:1px solid rgba(255,255,255,.1)}.days-selection{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.75rem;margin-top:.5rem}.day-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-family:Satoshi,sans-serif;font-size:.9rem;color:#ffffffe6;padding:.5rem;background:#ffffff0d;border-radius:4px;border:1px solid rgba(255,255,255,.1);transition:all .2s ease}.day-checkbox:hover{background:#ffffff1a;border-color:#fff3}.day-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#6B6B6B}.form-actions{display:flex;justify-content:center;margin-top:2rem}.save-button{background:#6b6b6b;color:#fff;border:none;padding:1rem 2rem;border-radius:8px;font-family:Satoshi,sans-serif;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.save-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #dea00166}.save-button:active{transform:translateY(0)}.react-datepicker-wrapper{width:100%}.react-datepicker__input-container input{width:80%;padding:.75rem;border:1px solid rgba(255,255,255,.2);border-radius:6px;font-family:Satoshi,sans-serif;font-size:.95rem;background:#ffffff1a;color:#fff;transition:all .2s ease;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.react-datepicker__input-container input:focus{outline:none;border-color:#6b6b6b;box-shadow:0 0 0 3px #dea0011a;background:#ffffff26}.react-datepicker-popper{z-index:9999!important}.form-section,.redemption-settings{overflow:visible!important;position:static!important;z-index:auto!important}.dashboard-header{margin-bottom:2rem}.dashboard-header h2{font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100;color:#6b6b6b;font-size:28px;margin:0 0 1rem;line-height:1.2;text-align:left;border-bottom:2px solid #6B6B6B;padding-bottom:.5rem}.dashboard-header p{font-family:Satoshi,sans-serif;margin:0 0 1rem;font-size:1rem;opacity:.8;color:#000!important}.business-info{margin-bottom:1.5rem}.business-email{font-family:Satoshi,sans-serif;font-size:1rem;margin:0 0 .5rem;padding:.75rem 1rem;background:#ffffff0d;border-radius:6px;border:1px solid rgba(255,255,255,.1)}.business-email:last-child{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:2rem}.stat-item{text-align:center;background:#fafafa;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:1.5rem}.stat-number{display:block;font-family:Koulen,sans-serif;font-size:2rem;font-weight:700;color:#6b6b6b;line-height:1}.stat-label{display:block;font-family:Satoshi,sans-serif;font-size:.8rem;margin-top:.5rem;opacity:.8}.referrals-list{display:flex;flex-direction:column;gap:1rem}.referral-document{background:#ffffff1a!important;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:20px;transition:all .2s ease;border:1px solid rgba(0,0,0,.1);box-shadow:0 2px 6px #00000014!important}.referrer-header{display:flex;justify-content:space-between;align-items:center}.referrer-title{font-family:Satoshi,sans-serif;font-size:1.2rem;font-weight:600;color:#6b6b6b;margin:0}.referrer-stats{display:flex;gap:1rem}.referrer-stat{font-family:Satoshi,sans-serif;font-size:.8rem;color:#000;background:#ffffff1a;padding:.25rem .75rem;border-radius:12px;border:1px solid rgba(255,255,255,.2)}.referred-people-list{display:flex;flex-direction:column;gap:1rem}.referred-person-card{background:#ffffff0d;border-radius:8px;padding:1rem;border:1px solid rgba(255,255,255,.1);transition:all .2s ease}.referred-person-card:hover{background:#ffffff14;border-color:#fff3}.referred-person-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:1rem}.referred-person-info{flex:1}.referred-person-name{font-family:Satoshi,sans-serif;font-size:1rem;font-weight:600;margin:0 0 .25rem;line-height:1.3}.referred-person-email{font-family:Satoshi,sans-serif;font-size:.85rem;margin:0}.referred-person-message{background:#ffffff0d;border-radius:6px;padding:.75rem;margin-bottom:.75rem;border-left:3px solid #6B6B6B}.referred-person-message p{font-family:Satoshi,sans-serif;font-size:.85rem;margin:0;font-style:italic}.referred-person-specifics{background:#ffffff08;border-radius:6px;padding:.75rem;margin-bottom:.75rem;border:1px solid rgba(255,255,255,.1);border-left:3px solid #6C757D}.referred-person-specifics .specifics-title{font-family:Satoshi,sans-serif;font-size:.8rem;font-weight:600;color:#6c757d;margin:0 0 .5rem;text-transform:uppercase;letter-spacing:.5px}.referred-person-specifics .specifics-list{display:flex;flex-direction:column;gap:.4rem}.referred-person-specifics .specific-item{display:flex;justify-content:space-between;align-items:center;padding:.4rem .6rem;background:#ffffff0d;border-radius:4px;border:1px solid rgba(255,255,255,.1)}.referred-person-specifics .specific-label{font-family:Satoshi,sans-serif;font-size:.8rem;font-weight:500;color:#fffc}.referred-person-specifics .specific-value{font-family:Satoshi,sans-serif;font-size:.8rem;color:#ffffffb3;text-align:right;max-width:60%;word-break:break-word}.referred-person-footer{display:flex;justify-content:flex-end}.referred-person-date{font-family:Satoshi,sans-serif;font-size:.75rem;color:#fff9}.no-referred-people{text-align:center;padding:2rem 1rem;background:#ffffff08;border-radius:8px;border:1px dashed rgba(255,255,255,.2)}.no-referred-people p{font-family:Satoshi,sans-serif;color:#fff9;margin:0;font-style:italic}.loading-container{text-align:center;padding:3rem 1rem}.loading-spinner{width:40px;height:40px;border:3px solid rgba(222,160,1,.3);border-top:3px solid #6B6B6B;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.loading-container p{font-family:Satoshi,sans-serif;color:#fff;margin:0}.error-container{text-align:center;padding:2rem 1rem}.error-container h2{font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100;color:#6b6b6b;font-size:28px;margin:0 0 1rem}.error-message{font-family:Satoshi,sans-serif;color:#dc3545;background:#dc35451a;border:1px solid rgba(220,53,69,.3);border-radius:6px;padding:1rem;margin:0}.empty-state{text-align:center;padding:3rem 1rem}.empty-state h2{font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100;color:#6b6b6b;font-size:28px;margin:0 0 1rem}.empty-state p{font-family:Satoshi,sans-serif;color:#fffc;margin:.5rem 0;font-size:1rem}@media (max-width: 768px){.tracking-dashboard-container{padding:1rem}.tab-content{width:90%!important}.tracking-content{padding:1.5rem;margin:1rem}.dashboard-header h2{font-size:28px}.stats{grid-template-columns:repeat(3,1fr);gap:.75rem}.stat-item{padding:.75rem}.stat-number{font-size:1.5rem}.stat-label{font-size:.7rem}.referral-document{padding:1rem;margin-bottom:1.5rem}.referrer-header{flex-direction:column;align-items:flex-start;gap:.75rem}.referrer-stats{gap:.5rem}.referred-person-card{padding:.75rem}.referred-person-header{flex-direction:column;align-items:flex-start;gap:.5rem}.status-badge{align-self:flex-start}.admin-dashboard{padding:1rem}.admin-dashboard-header{padding:1.5rem;flex-direction:column;gap:1rem}.admin-dashboard-title h1{font-size:24px}.admin-dashboard-subtitle{font-size:14px}.admin-dashboard-section{padding:1.5rem;margin:0 0 1rem;width:100%;box-sizing:border-box}.admin-dashboard-section h2{font-size:18px}.device-item{flex-direction:column;align-items:flex-start;gap:12px}.device-actions{width:100%;justify-content:flex-end}.referral-form-container{max-width:100%}.form-section{padding:1rem}.date-range-container,.time-range-container{grid-template-columns:1fr;gap:.75rem}.days-selection{grid-template-columns:repeat(2,1fr)}.save-button{width:100%;padding:1rem}}@media (max-width: 480px){.tracking-dashboard-container{padding:.5rem}.tracking-content{padding:1rem;margin:.5rem}.dashboard-header h2{font-size:24px}.stats{grid-template-columns:repeat(3,1fr);gap:.5rem}.stat-item{padding:.5rem}.stat-number{font-size:1.25rem}.stat-label{font-size:.65rem}.referral-document{padding:.75rem;margin-bottom:1rem}.referrer-title{font-size:1rem}.referrer-stat{font-size:.7rem;padding:.2rem .5rem}.referred-person-card{padding:.5rem}.referred-person-name{font-size:.9rem}.referred-person-email{font-size:.75rem}.referred-person-message{padding:.5rem}.referred-person-message p{font-size:.75rem}.admin-dashboard{padding:.5rem}.admin-dashboard-header{padding:1rem}.business-overview{padding:1rem .5rem}.business-overview h2{font-size:24px}.form-section h3{font-size:18px}.admin-dashboard-section{padding:1rem;margin:0 0 .75rem;width:100%;box-sizing:border-box}.admin-dashboard-section h2{font-size:16px}.days-selection{grid-template-columns:1fr}.day-checkbox{font-size:.85rem;padding:.4rem}}.referral-link-section{margin-top:1rem}.referral-link-row{display:flex;gap:.75rem;align-items:center}.referral-link-input{flex:1;padding:.75rem;font-family:Satoshi,sans-serif;font-size:.9rem;transition:all .2s ease;cursor:text;background:#fafafa!important;border:1px solid rgba(0,0,0,.1)!important;border-radius:8px;padding:1.5rem;color:#000!important}.referral-link-input:focus{outline:none;border-color:#6b6b6b;background:#ffffff26}.copy-link-btn{background:#6b6b6b;color:#222;border:none;padding:.75rem 1.5rem;border-radius:4px;font-family:Satoshi,sans-serif;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;min-width:100px}.copy-link-btn:hover{background:#c08a01;transform:translateY(-1px)}.copy-link-btn:active{transform:translateY(0)}@media (max-width: 768px){.referral-link-row{flex-direction:column;gap:.5rem}.copy-link-btn{width:100%}}@media (max-width: 480px){.referral-link-input{font-size:.8rem}.copy-link-btn{font-size:.8rem;padding:.5rem 1rem}}.blog-post-form{background:#222;border-radius:6px;padding:2rem;margin-top:1rem;border:1px solid rgba(255,255,255,.1)}.blog-post-form .form-section{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid rgba(255,255,255,.1)}.blog-post-form .form-section:last-child{border-bottom:none;margin-bottom:0}.blog-post-form .form-section h3{color:#6b6b6b;font-size:1.25rem;font-weight:600;margin-bottom:1rem;font-family:Satoshi,sans-serif}.blog-post-form .form-group{margin-bottom:1rem}.blog-post-form .form-group label{display:block;margin-bottom:.5rem;color:#ffffffe6;font-weight:500;font-family:Satoshi,sans-serif}.blog-post-form .form-input,.blog-post-form .form-textarea{width:100%;padding:.75rem;background:#333;border:1px solid rgba(255,255,255,.2);border-radius:4px;color:#ffffffe6;font-family:Satoshi,sans-serif;font-size:.875rem;transition:all .2s ease}.blog-post-form .form-input:focus,.blog-post-form .form-textarea:focus{outline:none;border-color:#6b6b6b;box-shadow:0 0 0 2px #dea00133}.blog-post-form .form-input::placeholder,.blog-post-form .form-textarea::placeholder{color:#fff6}.blog-post-form .form-textarea{resize:vertical;min-height:80px}.editor-container{margin-top:1rem}.blog-post-form .form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1)}.blog-post-form .load-button{padding:.75rem 1.5rem;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:4px;color:#fffc;cursor:pointer;font-family:Satoshi,sans-serif;font-size:.875rem;font-weight:500;transition:all .2s ease}.blog-post-form .load-button:hover:not(:disabled){background:#ffffff1a;color:#ffffffe6}.blog-post-form .load-button:disabled{opacity:.5;cursor:not-allowed}.blog-post-form .save-button{padding:.75rem 1.5rem;background:#6b6b6b;border:1px solid #6B6B6B;border-radius:4px;color:#000;cursor:pointer;font-family:Satoshi,sans-serif;font-size:.875rem;font-weight:600;transition:all .2s ease}.blog-post-form .save-button:hover:not(:disabled){background:#757575;border-color:#757575}.blog-post-form .save-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.blog-post-form{padding:1.5rem}.blog-post-form .form-actions{flex-direction:column}.blog-post-form .load-button,.blog-post-form .save-button{width:100%}}@media (max-width: 480px){.blog-post-form{padding:1rem}.blog-post-form .form-section h3{font-size:1.125rem}}.message{padding:1rem;border-radius:6px;margin:1rem 0;font-weight:500;text-align:center}.message.success{background-color:#28a7451a;border:1px solid rgba(40,167,69,.3);color:#28a745}.message.error{background-color:#dc35451a;border:1px solid rgba(220,53,69,.3);color:#dc3545}.devices-section{background:#ffffff0d;border-radius:6px;padding:1.5rem;margin-bottom:2rem;border:1px solid rgba(255,255,255,.1)}.devices-section h3{font-size:1.25rem;font-weight:600;color:#6b6b6b;margin:0 0 1rem;font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100}.form-section .section-header{display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:.5rem 0;transition:all .2s ease;border-radius:4px;margin-bottom:0}.section-header{border:1px solid rgba(0,0,0,.1)!important;padding:1.5rem!important}.form-section .section-header:hover{background:#ffffff0d;padding-left:.5rem;padding-right:.5rem}.form-section .section-header h3{margin:0;color:#6b6b6b;font-size:20px;font-family:Koulen,sans-serif;font-optical-sizing:auto;font-weight:700;font-variation-settings:"wdth" 100}.form-section .section-toggle-icon{font-size:1rem;color:#6b6b6b;transition:all .3s ease;font-weight:700;-webkit-user-select:none;user-select:none}.form-section .section-toggle-icon.expanded{transform:rotate(0)}.form-section .section-toggle-icon.collapsed{transform:rotate(-90deg)}.form-section .section-content{border-top:1px solid rgba(255,255,255,.1);animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.type-specific-rewards{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1.5rem;margin-top:0rem!important;padding-top:0rem!important}.type-rewards-description{color:#000;font-size:.9rem;margin-bottom:1rem;font-style:italic}.type-reward-input{display:flex;align-items:center;margin-bottom:1rem;gap:1rem}.type-reward-input:last-child{margin-bottom:0}.type-label{min-width:80px;font-weight:600;color:#fff;font-size:.9rem}.type-reward-input .form-input{flex:1;max-width:200px}@media (max-width: 768px){.type-reward-input{flex-direction:column;align-items:flex-start;gap:.5rem}.type-reward-input .form-input{max-width:100%}}
