@tailwind base;@tailwind components;@tailwind utilities;body,html{height:100%;margin:0;padding:0;background:#0f172a}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}.max-w-7xl{max-width:none!important}.mx-auto{margin-left:auto;margin-right:auto}.p-6{padding:1.5rem}.bg-slate-50{background-color:#0f172a!important}.min-h-screen{min-height:100vh}.header-moderno{position:fixed;top:0;left:0;right:0;z-index:1000;transition:all .3s ease}.header-normal{background:rgba(15,23,42,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(59,130,246,.1)}.header-transparent{background:transparent;border-bottom:1px solid hsla(0,0%,100%,.1)}.header-scrolled{background:rgba(15,23,42,.98)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(59,130,246,.2);box-shadow:0 4px 20px rgba(0,0,0,.2)}.header-container{max-width:1280px;margin:0 auto;padding:0 1.5rem;justify-content:space-between;height:70px}.header-container,.header-logo{display:flex;align-items:center}.header-logo{gap:.75rem;text-decoration:none;color:inherit;flex:1 1;cursor:pointer}.logo-icon-wrapper{position:relative;flex-shrink:0}.logo-icon-bg{width:36px;height:36px;background:linear-gradient(135deg,#3b82f6,#0ea5e9);border-radius:10px;display:flex;align-items:center;justify-content:center;transition:transform .3s ease}.logo-icon-bg-home{background:hsla(0,0%,100%,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-logo:hover .logo-icon-bg{transform:rotate(15deg)}.logo-dot{position:absolute;top:-2px;right:-2px;width:8px;height:8px;background:#10b981;border-radius:50%;border:2px solid #0f172a;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.logo-text{min-width:0;overflow:hidden}.header-title{font-size:1.125rem;font-weight:700;color:#fff;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-subtitle{display:flex;align-items:center;gap:.375rem;font-size:.6875rem;color:#94a3b8;margin-top:.125rem;white-space:nowrap}.online-dot{display:inline-block;width:6px;height:6px;background:#10b981;border-radius:50%;animation:pulse 2s infinite;flex-shrink:0}.subtitle-text{overflow:hidden;text-overflow:ellipsis}.header-nav-desktop,.nav-link{display:flex;gap:.5rem}.nav-link{align-items:center;padding:.5rem 1rem;color:#cbd5e1;text-decoration:none;border-radius:8px;transition:all .2s ease;font-size:.875rem;font-weight:500;white-space:nowrap}.nav-link:hover{background:rgba(59,130,246,.1);color:#fff}.nav-link-icon{display:flex;align-items:center}.header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}.notification-btn,.theme-toggle{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(30,41,59,.8);border:1px solid rgba(59,130,246,.2);border-radius:8px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.notification-btn:hover,.theme-toggle:hover{background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.4);transform:translateY(-1px)}.notification-btn{position:relative}.notification-badge{position:absolute;top:8px;right:8px;width:8px;height:8px;background:#ef4444;border-radius:50%;border:2px solid #0f172a}.login-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:linear-gradient(90deg,#3b82f6,#0ea5e9);color:#fff;border-radius:8px;text-decoration:none;font-size:.875rem;font-weight:500;transition:all .3s ease;border:none;cursor:pointer;white-space:nowrap;flex-shrink:0}.login-btn:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(59,130,246,.3)}.login-btn-home{background:hsla(0,0%,100%,.1);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid hsla(0,0%,100%,.2)}.login-btn-home:hover{background:hsla(0,0%,100%,.2);box-shadow:0 10px 20px rgba(0,0,0,.2)}.login-text{white-space:nowrap}.user-menu-container{position:relative}.user-menu-btn{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem .375rem .375rem;background:rgba(30,41,59,.8);border:1px solid rgba(59,130,246,.2);border-radius:50px;cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0}.user-menu-btn:hover{background:rgba(59,130,246,.1);border-color:rgba(59,130,246,.4)}.user-avatar{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;color:#fff;font-size:.875rem;background:linear-gradient(135deg,#3b82f6,#0ea5e9);flex-shrink:0}.user-avatar.superadmin{background:linear-gradient(135deg,#f59e0b,#d97706)}.user-avatar.admin{background:linear-gradient(135deg,#10b981,#059669)}.user-avatar.client{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.user-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;width:240px;background:rgba(15,23,42,.98);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(59,130,246,.2);border-radius:12px;padding:1rem;box-shadow:0 20px 40px rgba(0,0,0,.3);animation:fadeIn .2s ease;z-index:1001}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.user-info{padding-bottom:1rem;margin-bottom:.75rem;border-bottom:1px solid rgba(59,130,246,.1)}.user-name{font-size:.875rem;font-weight:600;color:#fff;margin-bottom:.125rem;display:flex;align-items:center;flex-wrap:wrap;gap:4px}.user-role-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:rgba(59,130,246,.1);border-radius:12px;font-size:.7rem;color:#60a5fa;border:1px solid rgba(59,130,246,.2)}.user-email{font-size:.75rem;color:#94a3b8}.dropdown-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.625rem .75rem;background:transparent;border:none;border-radius:8px;color:#cbd5e1;text-decoration:none;font-size:.875rem;transition:all .2s ease;cursor:pointer;text-align:left}.dropdown-item:hover{background:rgba(59,130,246,.1);color:#fff}.dropdown-item-icon{color:#94a3b8}.logout-btn{display:flex;align-items:center;gap:.75rem;width:100%;padding:.625rem .75rem;background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.2);border-radius:8px;color:#f87171;font-size:.875rem;transition:all .2s ease;cursor:pointer;margin-top:.5rem}.logout-btn:hover{background:rgba(239,68,68,.2);border-color:rgba(239,68,68,.4);color:#fca5a5}.mobile-menu-btn{display:none;width:40px;height:40px;align-items:center;justify-content:center;background:rgba(30,41,59,.8);border:1px solid rgba(59,130,246,.2);border-radius:8px;cursor:pointer;transition:all .2s ease;flex-shrink:0;z-index:1002}.mobile-menu-overlay{width:100%;height:calc(100vh - 70px);background:transparent;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0);z-index:999}.mobile-menu,.mobile-menu-overlay{position:fixed;top:70px;left:0;opacity:0;visibility:hidden;transition:all .3s ease}.mobile-menu{right:0;bottom:0;background:rgba(15,23,42,.98);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid rgba(59,130,246,.1);padding:1rem;overflow-y:auto;z-index:1000;transform:translateY(-20px);display:flex;flex-direction:column}.mobile-menu-content{flex:1 1;overflow-y:auto;padding-right:.25rem}.mobile-menu-home{background:rgba(15,23,42,.95);border-top:1px solid hsla(0,0%,100%,.1)}.mobile-nav-link{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;color:#cbd5e1;text-decoration:none;border-radius:8px;transition:all .2s ease;font-size:.9375rem;margin-bottom:.5rem;background:rgba(30,41,59,.5);border:none;width:100%;text-align:left;cursor:pointer;max-width:100%;box-sizing:border-box;word-break:break-word;overflow:hidden}.mobile-nav-link:hover{background:rgba(59,130,246,.1);color:#fff}.mobile-nav-icon{color:#60a5fa;width:20px;min-width:20px;display:flex;align-items:center;justify-content:center}.mobile-nav-text{white-space:normal;word-break:break-word;overflow-wrap:break-word;min-width:0}.mobile-menu-footer{flex-shrink:0}body.mobile-menu-open .mobile-menu-overlay{opacity:1;visibility:visible;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}body.mobile-menu-open .mobile-menu{opacity:1;visibility:visible;transform:translateY(0)}.mobile-nav-link[style*="background: linear-gradient"]{background:linear-gradient(90deg,#3b82f6,#0ea5e9)!important;color:#fff!important;justify-content:center!important;margin-top:1rem!important;font-weight:500!important}.mobile-nav-link[style*="background: rgba(239, 68, 68"]{background:rgba(239,68,68,.1)!important;border:1px solid rgba(239,68,68,.2)!important;color:#f87171!important;justify-content:center!important;margin-top:.5rem!important}@media (max-width:480px){.mobile-menu{padding:.75rem}.mobile-nav-link{padding:.75rem;font-size:.875rem}.mobile-nav-icon{width:18px;min-width:18px}}.mobile-nav-text{flex:1 1}.mobile-menu-footer{padding-top:1rem;margin-top:1rem;border-top:1px solid rgba(59,130,246,.1)}.theme-toggle-mobile{display:flex;align-items:center;justify-content:space-between;padding:.75rem .5rem}.theme-toggle-label{font-size:.875rem;color:#cbd5e1}.toggle-switch{position:relative;display:inline-flex;height:24px;width:44px;align-items:center;border-radius:9999px;background:#374151;border:none;cursor:pointer;padding:0}.toggle-switch-on{background:#2563eb}.toggle-switch-off{background:#374151}.toggle-switch-handle{display:inline-block;height:16px;width:16px;border-radius:50%;background:#fff;transition:transform .3s ease;transform:translateX(4px)}.toggle-switch-on .toggle-switch-handle{transform:translateX(22px)}.header-spacer{height:70px}.dark-mode{color-scheme:dark}.header-transparent .header-title{color:#fff}.header-transparent .header-subtitle{color:hsla(0,0%,100%,.8)}.hide-on-mobile,.hide-on-small{display:flex}@media (max-width:768px){.header-nav-desktop{display:none!important}.mobile-menu-btn{display:flex!important}.header-container{padding:0 1rem;height:70px}.mobile-menu-btn,.notification-btn,.theme-toggle{width:36px;height:36px;min-width:36px}.hide-on-mobile{display:none!important}.login-btn{padding:.5rem .75rem;font-size:.8125rem}.login-text{display:inline}.user-menu-btn{padding:.25rem .5rem .25rem .25rem}.user-avatar{width:28px;height:28px;font-size:.75rem}.user-dropdown{position:fixed;top:70px;right:.5rem;left:.5rem;width:auto;margin-top:0;z-index:1001}.header-title{font-size:1rem}.header-subtitle{font-size:.625rem}.header-spacer{height:70px}.mobile-menu,.mobile-menu-overlay{top:70px;height:calc(100vh - 70px)}}@media (max-width:480px){.header-container{padding:0 .75rem;height:60px}.header-spacer{height:60px}.mobile-menu,.mobile-menu-overlay,.user-dropdown{top:60px;height:calc(100vh - 60px)}.hide-on-small{display:none!important}.login-btn{padding:.375rem .5rem;font-size:.75rem}.login-text{display:none}.logo-text{max-width:120px}.header-title{font-size:.9375rem}.header-subtitle .subtitle-text,.user-menu-btn span:last-child{display:none}.logo-icon-bg{width:32px;height:32px}.mobile-menu-btn{width:36px;height:36px}.mobile-menu{padding:.75rem}}body.mobile-menu-open{overflow:hidden}.header-actions,.header-logo{min-width:0}.user-dropdown{max-width:calc(100vw - 1rem);box-sizing:border-box}@media (min-width:769px) and (max-width:1024px){.header-container{padding:0 1.25rem}.nav-link{padding:.5rem .75rem;font-size:.8125rem}}.header-container{gap:20px}.header-nav-desktop{margin:0 20px}.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:12px;max-width:400px;pointer-events:none}.toast{background:linear-gradient(135deg,rgba(30,41,59,.95),rgba(15,23,42,.95));border-radius:12px;padding:16px;box-shadow:0 8px 32px rgba(0,0,0,.3);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(59,130,246,.3);animation:slideInRight .3s ease-out;pointer-events:auto;position:relative;overflow:hidden}.toast-success{border-color:rgba(34,197,94,.4);background:linear-gradient(135deg,rgba(6,78,59,.95),rgba(4,47,46,.95))}.toast-error{border-color:rgba(239,68,68,.4);background:linear-gradient(135deg,rgba(127,29,29,.95),rgba(69,10,29,.95))}.toast-warning{border-color:rgba(245,158,11,.4);background:linear-gradient(135deg,rgba(120,53,15,.95),rgba(69,26,3,.95))}.toast-confirm{border-color:rgba(59,130,246,.4);background:linear-gradient(135deg,rgba(30,41,59,.95),rgba(15,23,42,.95))}.toast-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.toast-icon{flex-shrink:0;margin-top:2px}.toast-success .toast-icon{color:#4ade80}.toast-error .toast-icon{color:#f87171}.toast-warning .toast-icon{color:#fbbf24}.toast-confirm .toast-icon,.toast-info .toast-icon{color:#60a5fa}.toast-content{flex:1 1;min-width:0}.toast-title{font-weight:700;font-size:.875rem;margin-bottom:4px;color:#e2e8f0;text-transform:uppercase;letter-spacing:.05em}.toast-message{font-size:.875rem;color:#cbd5e1;line-height:1.4}.toast-close{background:none;border:none;color:#94a3b8;cursor:pointer;padding:4px;border-radius:4px;flex-shrink:0;transition:all .2s}.toast-close:hover{background:hsla(0,0%,100%,.1);color:#e2e8f0}.toast-actions{display:flex;gap:8px;margin-top:12px}.toast-btn{flex:1 1;padding:8px 16px;border-radius:6px;border:none;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;text-align:center}.toast-btn-cancel{background:rgba(239,68,68,.1);color:#f87171;border:1px solid rgba(239,68,68,.3)}.toast-btn-cancel:hover{background:rgba(239,68,68,.2)}.toast-btn-confirm{background:linear-gradient(135deg,#3b82f6,#0ea5e9);color:#fff;border:1px solid rgba(59,130,246,.3)}.toast-btn-confirm:hover{background:linear-gradient(135deg,#2563eb,#0284c7)}.toast-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:hsla(0,0%,100%,.1);border-radius:0 0 12px 12px;overflow:hidden}.toast-progress-bar{height:100%;background:linear-gradient(90deg,#3b82f6,#0ea5e9);animation:progressBar linear forwards}.toast-success .toast-progress-bar{background:linear-gradient(90deg,#4ade80,#22c55e)}.toast-error .toast-progress-bar{background:linear-gradient(90deg,#f87171,#ef4444)}.toast-warning .toast-progress-bar{background:linear-gradient(90deg,#fbbf24,#f59e0b)}@keyframes slideInRight{0%{opacity:0;transform:translateX(100%)}to{opacity:1;transform:translateX(0)}}@keyframes slideOutRight{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(100%)}}@keyframes progressBar{0%{width:100%}to{width:0}}.toast-exit{animation:slideOutRight .3s ease-in forwards}@media (max-width:640px){.toast-container{left:20px;right:20px;max-width:none}.toast{max-width:100%}}