*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Plus Jakarta Sans','Inter',-apple-system,BlinkMacSystemFont,sans-serif;background:#f1f5f9;color:#1e293b}

/* ===== LOGIN SECTION ===== */
.login-section{display:flex;justify-content:center;align-items:center;min-height:100vh;width:100vw;background:#034694}
.login-container{display:flex;width:100%;max-width:100%;height:100vh;border-radius:0;overflow:hidden}

/* Left Panel */
.login-left-panel{
  flex:1;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:0;
  position:relative;
  overflow:hidden;
}
.login-left-content{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:40px 40px 20px;
}
.login-logo-container{margin-bottom:24px}
.login-logo{width:180px;height:auto;animation:float 3s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.login-phrases-container{text-align:center;height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.phrase-slider{position:relative;width:100%;height:60px;overflow:hidden}
.login-phrase{font-size:20px;color:#1e293b;font-weight:700;line-height:1.5;position:absolute;width:100%;opacity:0;transform:translateY(20px);transition:all .6s cubic-bezier(.4,0,.2,1)}
.login-phrase.active{opacity:1;transform:translateY(0)}
.login-phrase.exit{opacity:0;transform:translateY(-20px)}
.login-subtitle{font-size:13px;color:#64748b;margin-top:12px;line-height:1.6}
.login-dots{display:flex;gap:8px;margin-top:16px}
.login-dot{width:8px;height:8px;border-radius:50%;background:#cbd5e1;transition:all .3s;cursor:pointer}
.login-dot.active{width:24px;border-radius:4px;background:#06b6d4}

/* Trust Signals */
.trust-signals{display:flex;gap:24px;margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}
.trust-item{display:flex;align-items:center;gap:8px;color:#94a3b8;font-size:12px;font-weight:500}
.trust-item svg{color:#06b6d4}

/* Portfolio Carousel */
.portfolio-carousel{
  width:100%;
  height:auto;
  position:relative;
  overflow:hidden;
  background:#fff;
}
.carousel-track{
  display:flex;
  gap:0;
  animation:scrollCarousel 30s linear infinite;
  width:max-content;
  align-items:center;
}
.carousel-item{
  flex-shrink:0;
  overflow:visible;
  transition:all .4s ease;
  position:relative;
  line-height:0;
  opacity:0.35;
  margin-left:8px;
}
.carousel-item:first-child{
  margin-left:0;
}
.carousel-item:hover{
  z-index:2;
  transform:scale(1.05) rotate(0deg) !important;
  opacity:0.7;
  filter:brightness(1.05);
}
.carousel-item img{
  width:100%;
  height:auto;
  display:block;
}
@keyframes scrollCarousel{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* Right Panel - Premium Design */
.login-right-panel{
  flex:1;
  background:linear-gradient(135deg,#034694 0%,#02367a 25%,#0157b3 50%,#034694 75%,#02367a 100%);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:60px 50px;
  position:relative;
  overflow:hidden;
}

/* Animated Background Shapes */
.bg-shapes{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.shape{position:absolute;border-radius:50%;filter:blur(80px);opacity:.15}
.shape-1{width:400px;height:400px;background:linear-gradient(135deg,#06b6d4,#3b82f6);top:-100px;right:-100px;animation:shapeMove1 20s ease-in-out infinite}
.shape-2{width:300px;height:300px;background:linear-gradient(135deg,#8b5cf6,#ec4899);bottom:-80px;left:-80px;animation:shapeMove2 25s ease-in-out infinite}
.shape-3{width:200px;height:200px;background:linear-gradient(135deg,#06b6d4,#8b5cf6);top:50%;left:50%;transform:translate(-50%,-50%);animation:shapeMove3 18s ease-in-out infinite}
@keyframes shapeMove1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,40px) scale(1.1)}}
@keyframes shapeMove2{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(30px,-30px) scale(1.15)}}
@keyframes shapeMove3{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.2)}}

/* Glassmorphism Card */
.login-form-card{
  width:100%;
  max-width:380px;
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:24px;
  padding:36px;
  position:relative;
  z-index:1;
  box-shadow:0 25px 50px -12px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,0.05) inset;
  animation:cardAppear .8s cubic-bezier(.16,1,.3,1) forwards;
  opacity:0;
  transform:translateY(20px);
  max-height:90vh;
  overflow-y:auto;
}
.login-form-card::-webkit-scrollbar{width:4px}
.login-form-card::-webkit-scrollbar-track{background:transparent}
.login-form-card::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15);border-radius:4px}
@keyframes cardAppear{to{opacity:1;transform:translateY(0)}}
.form-card-inner{display:flex;flex-direction:column;gap:0}

/* Form Header */
.form-header{text-align:center;margin-bottom:24px}
.form-icon-wrapper{
  width:72px;height:72px;
  background:linear-gradient(135deg,rgba(6,182,212,.15),rgba(59,130,246,.15));
  border:2px solid rgba(6,182,212,.4);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  overflow:hidden;
  animation:iconPulse 3s ease-in-out infinite;
  box-shadow:0 0 0 6px rgba(6,182,212,.08);
}
.form-icon-img{
  width:100%;height:100%;
  object-fit:contain;
  object-position:center;
  padding:8px;
}
@keyframes iconPulse{0%,100%{box-shadow:0 0 0 6px rgba(6,182,212,.08)}50%{box-shadow:0 0 0 16px rgba(6,182,212,0)}}
.form-header h2{color:#fff;font-size:20px;font-weight:700;margin-bottom:6px;letter-spacing:-0.02em}
.form-header p{color:rgba(255,255,255,.5);font-size:13px;line-height:1.5}

/* Form */
.login-form{display:flex;flex-direction:column;gap:16px}
.input-group label{display:block;color:rgba(255,255,255,.6);font-size:11px;margin-bottom:6px;font-weight:600;letter-spacing:1px;text-transform:uppercase}
.input-wrapper{position:relative}
.input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:rgba(255,255,255,.3);transition:color .3s;width:16px;height:16px}
.input-wrapper input{
  width:100%;
  padding:13px 16px 13px 44px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  font-size:14px;
  background:rgba(255,255,255,.05);
  color:#fff;
  transition:all .3s;
  font-family:inherit;
}
.input-wrapper input:focus{
  outline:none;
  border-color:rgba(6,182,212,.5);
  box-shadow:0 0 0 4px rgba(6,182,212,.1);
  background:rgba(255,255,255,.08);
}
.input-wrapper input:focus~.input-icon,
.input-wrapper input:focus+.input-icon{color:#06b6d4}
.input-wrapper input::placeholder{color:rgba(255,255,255,.25)}

/* Login Button */
.btn-login{
  width:100%;
  padding:14px;
  background:linear-gradient(135deg,#06b6d4,#0891b2);
  color:#fff;
  border:none;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:inherit;
  position:relative;
  overflow:hidden;
  margin-top:4px;
}
.btn-login::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.2),transparent);
  opacity:0;
  transition:opacity .3s;
}
.btn-login:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 32px rgba(6,182,212,.4);
}
.btn-login:hover::before{opacity:1}
.btn-login:active{transform:translateY(0)}
.btn-login svg{transition:transform .3s}
.btn-login:hover svg{transform:translateX(4px)}

/* Google Button */
.btn-google{
  width:100%;
  padding:12px;
  background:#fff;
  color:#333;
  border:1px solid #e2e8f0;
  border-radius:12px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all .3s;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:inherit;
}
.btn-google:hover{background:#f8fafc;box-shadow:0 4px 16px rgba(0,0,0,.08);transform:translateY(-1px)}
.btn-google:active{transform:translateY(0)}

/* Divider */
.divider{display:flex;align-items:center;gap:16px;margin:4px 0}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.1)}
.divider span{color:rgba(255,255,255,.35);font-size:12px;font-weight:500}

/* Form Toggle */
.form-toggle{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:20px;font-size:13px;color:rgba(255,255,255,.45)}
.toggle-btn{background:none;border:none;color:#06b6d4;font-size:13px;font-weight:600;cursor:pointer;transition:color .2s;font-family:inherit}
.toggle-btn:hover{color:#22d3ee}

/* Error */
.login-error{
  background:rgba(239,68,68,.1);
  color:#f87171;
  padding:12px;
  border-radius:10px;
  margin-top:16px;
  text-align:center;
  font-size:13px;
  border:1px solid rgba(239,68,68,.2);
  backdrop-filter:blur(10px);
}

/* Footer */
.form-footer{margin-top:28px;text-align:center}
.secure-badge{display:flex;align-items:center;justify-content:center;gap:6px;color:rgba(255,255,255,.35);font-size:11px;margin-bottom:12px}
.secure-badge svg{color:rgba(6,182,212,.5)}
.copyright{color:rgba(255,255,255,.2);font-size:11px}

/* ===== DASHBOARD SECTION ===== */
.app-layout{display:flex;min-height:100vh;background:#f1f5f9}
.sidebar{width:220px;background:linear-gradient(180deg,#034694 0%,#02367a 50%,#012a66 100%);display:flex;flex-direction:column;position:fixed;top:0;left:0;height:100vh;z-index:200;border-right:1px solid rgba(0,0,0,0.1)}
.sidebar-logo{padding:24px 16px;border-bottom:1px solid rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center}
.sidebar-logo-img{height:56px;width:auto;max-width:160px}
.sidebar-nav{flex:1;padding:12px;display:flex;flex-direction:column;gap:4px}
.nav-item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:10px;color:rgba(255,255,255,0.7);text-decoration:none;font-size:14px;font-weight:500;transition:all .2s}
.nav-item:hover{background:rgba(255,255,255,0.1);color:#fff}
.nav-item.active{background:rgba(255,255,255,0.15);color:#fff}
.sidebar-footer{padding:16px;border-top:1px solid #1e293b}
.sidebar-logout{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;background:none;border:none;border-radius:10px;color:rgba(255,255,255,0.7);font-size:14px;cursor:pointer;transition:all .2s}
.sidebar-logout:hover{background:rgba(239,68,68,.15);color:#fca5a5}

.main-content{flex:1;margin-left:220px;display:flex;flex-direction:column;overflow-x:clip;min-width:0}
.topbar{background:linear-gradient(135deg,#034694 0%,#02367a 100%);padding:14px 28px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(0,0,0,.1);position:sticky;top:0;z-index:100}
.topbar-left{display:flex;align-items:center;gap:8px}
.topbar-section{font-weight:700;color:#fff;font-size:14px}
.topbar-separator{color:rgba(255,255,255,.4)}
.topbar-page{color:rgba(255,255,255,.6);font-size:14px}
.topbar-right{display:flex;align-items:center;gap:16px;flex-shrink:0}
.topbar-user{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;background:rgba(255,255,255,.12);border-radius:50px;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15)}
.topbar-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.3);flex-shrink:0}
.topbar-user-info{display:flex;flex-direction:column;white-space:nowrap}
.topbar-user-name{font-size:13px;font-weight:600;color:#fff}
.topbar-user-role{font-size:11px;color:rgba(255,255,255,.5)}

.content-area{padding:28px;flex:1}
.section-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}
.page-title{font-size:24px;font-weight:800;color:#1e293b}
.page-subtitle{font-size:14px;color:#64748b;margin-top:4px}
.header-date{font-size:13px;color:#fff;background:linear-gradient(135deg,#034694,#02367a);padding:8px 14px;border-radius:8px;border:none;display:flex;align-items:center;gap:6px;font-weight:500}

/* ===== PROMO BANNER ===== */
.promo-banner{position:relative;border-radius:20px;overflow:hidden;margin-bottom:24px;height:260px}
.banner-slides{position:relative;width:100%;height:100%;border-radius:20px;overflow:hidden}
.banner-slide{position:absolute;inset:0;display:flex;opacity:0;visibility:hidden;z-index:0;transition:opacity .6s ease,visibility .6s ease;pointer-events:none;border-radius:20px;overflow:hidden}
.banner-slide.active{opacity:1;visibility:visible;z-index:1;pointer-events:auto}
.banner-content{flex:1;padding:40px;display:flex;flex-direction:column;justify-content:center;z-index:2}
.banner-tag{display:inline-block;background:rgba(255,255,255,.15);color:#fff;font-size:11px;font-weight:700;padding:6px 14px;border-radius:20px;margin-bottom:16px;width:fit-content;letter-spacing:.5px;text-transform:uppercase;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.2)}
.banner-content h2{color:#fff;font-size:28px;font-weight:800;line-height:1.2;margin-bottom:10px;letter-spacing:-0.02em}
.banner-content p{color:rgba(255,255,255,.7);font-size:14px;line-height:1.5}
.banner-diagonals{display:flex;gap:12px;padding:20px 30px 20px 0;align-items:center;z-index:1}
.diag-img{width:160px;height:200px;border-radius:12px;background-size:cover;background-position:center;transform:rotate(-3deg);transition:transform .4s ease;flex-shrink:0;border:3px solid rgba(255,255,255,.15);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.diag-img:nth-child(2){transform:rotate(2deg);margin-top:-20px}
.diag-img:nth-child(3){transform:rotate(-1deg);margin-top:10px}
.diag-img:hover{transform:rotate(0deg) scale(1.05)}
.banner-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.banner-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:all .3s}
.banner-dot.active{width:24px;border-radius:4px;background:#fff}

/* ===== PRODUCTS TOOLBAR ===== */
.products-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px;flex-wrap:wrap}
.search-box{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 16px;flex:1;min-width:280px;transition:all .3s}
.search-box:focus-within{border-color:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.08)}
.search-box svg{color:#94a3b8;flex-shrink:0}
.search-box input{border:none;outline:none;font-size:14px;width:100%;font-family:inherit;color:#1e293b}
.search-box input::placeholder{color:#94a3b8}

/* ===== PRODUCTS GRID ===== */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-bottom:24px}
.product-card-ng{background:#fff;border:2px solid #e8ecf1;border-radius:16px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;cursor:pointer;overflow:hidden}
.product-card-ng:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(3,70,148,.15);border-color:#034694}
.product-card-img{height:240px;display:flex;align-items:center;justify-content:center;background:#ffffff;border-bottom:1px solid #f1f5f9;padding:10px;box-sizing:border-box}
.product-card-img img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;display:block}
.product-card-img img.img-scale-up{transform:scale(1.4)}
.product-card-img svg{opacity:.35}
.product-card-name{font-size:15px;font-weight:700;color:#1e293b;padding:16px 18px 6px;line-height:1.3}
.product-card-desc{font-size:12px;color:#64748b;padding:0 18px;line-height:1.6;flex:1}
.btn-add-product{margin:16px 18px 18px;padding:12px;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s;font-family:inherit;text-transform:uppercase;letter-spacing:.5px}
.btn-add-product:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(3,70,148,.35)}

/* Custom product card — dashed border */
.product-card-ng[data-category="custom"]{
  border:2px dashed #034694;
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
}
.product-card-ng[data-category="custom"]:hover{
  border-color:#00B6EB;
  background:linear-gradient(135deg,#dbeafe,#bfdbfe);
}
.product-card-ng[data-category="custom"] .btn-add-product{
  background:linear-gradient(135deg,#034694,#02367a);
}

/* ===== ORDERS TABLE ===== */
.orders-table-wrapper{background:#fff;border-radius:16px;border:1px solid #e8edf5;overflow:auto;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.orders-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1200px}
.orders-table thead{background:linear-gradient(135deg,#034694 0%,#0255a8 100%)}
.orders-table thead th{padding:14px 18px;color:rgba(255,255,255,.92);font-size:11px;font-weight:700;text-align:left;letter-spacing:.8px;text-transform:uppercase;white-space:nowrap;border-bottom:2px solid rgba(255,255,255,.1);position:relative}
.orders-table thead th:not(:last-child)::after{content:'';position:absolute;right:0;top:25%;height:50%;width:1px;background:rgba(255,255,255,.15)}
.orders-table thead th:first-child{padding-left:24px;border-radius:16px 0 0 0}
.orders-table thead th:last-child{border-radius:0 16px 0 0;padding-right:24px}
.orders-table tbody tr{border-bottom:1px solid #f1f5f9;transition:all .2s}
.orders-table tbody tr:hover{background:#f8fafc}
.orders-table tbody tr:last-child{border-bottom:none}
.orders-table tbody td{padding:16px 18px;font-size:13px;color:#1e293b;vertical-align:middle}
.orders-table tbody td:first-child{padding-left:24px}
.orders-table tbody td:last-child{padding-right:24px}
.orders-table .no-orders{text-align:center;color:#94a3b8;padding:60px 20px;font-size:14px}
.order-id-badge{display:inline-block;font-family:monospace;font-size:11px;background:#f1f5f9;color:#475569;padding:3px 8px;border-radius:6px;font-weight:600;white-space:nowrap}
.text-muted{color:#64748b}
.valor-cell{color:#059669;font-size:14px;font-weight:700;letter-spacing:.3px}
.notes-cell{max-width:180px;color:#64748b;font-size:12px;line-height:1.5}

/* Client status badges */
.client-status-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 12px;border-radius:20px;font-size:11px;font-weight:700;white-space:nowrap;letter-spacing:.3px}
.badge-green{background:#ecfdf5;color:#059669;border:1px solid #a7f3d0}
.badge-yellow{background:#fefce8;color:#ca8a04;border:1px solid #fde68a}
.badge-orange{background:#fff7ed;color:#ea580c;border:1px solid #fed7aa}
.badge-blue{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}
.badge-purple{background:#f5f3ff;color:#7c3aed;border:1px solid #ddd6fe}
.badge-red{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}
.badge-gray{background:#f8fafc;color:#64748b;border:1px solid #e2e8f0}
.custom-table tr:hover td{background:#f8fafc;color:#00B6EB}
.custom-table .text-muted{color:#64748b}

/* Table Text Truncation */
.custom-table td {
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-table td.notes-cell {
  white-space: normal;
}

/* View Notes Button */
.view-notes-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f4ff;
  color: #034694;
  border: 1px solid #d0ddff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.view-notes-btn:hover {
  background: #034694;
  color: #fff;
  border-color: #034694;
  box-shadow: 0 2px 8px rgba(3,70,148,.2);
}

/* Drive Locked Hint */
.drive-locked-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 170px;
}
.drive-locked-header {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #dc2626;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.drive-locked-link {
  font-size: 10px;
  color: #9f1239;
  line-height: 1.35;
  margin: 0;
  padding: 0;
  text-align: left;
  white-space: normal;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.drive-locked-link:hover {
  opacity: 0.7;
}

/* Badge Styles */
.drive-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none;transition:all .2s;white-space:nowrap}
.drive-btn-open{background:#e8f0fe;color:#1a73e8;border:1px solid #c2d5fc}
.drive-btn-open:hover{background:#1a73e8;color:#fff}
.drive-locked{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:8px;font-size:12px;font-weight:500;color:#94a3b8;background:#f8fafc;border:1px solid #e2e8f0;cursor:default}
.badge-red{background:#fee2e2;color:#dc2626}
.badge-gray{background:#f1f5f9;color:#64748b}

/* Drive button */
.drive-btn{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:8px;font-size:12px;font-weight:600;text-decoration:none;transition:all .2s;white-space:nowrap}
.drive-btn-open{background:#e8f0fe;color:#1a73e8;border:1px solid #c2d5fc}
.drive-btn-open:hover{background:#1a73e8;color:#fff}
.notify-drive-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:5px 11px;border-radius:8px;font-size:10px;font-weight:600;background:#fef3c7;color:#d97706;border:1px solid #fde68a;cursor:pointer;transition:all .2s;white-space:nowrap;}
.notify-drive-btn:hover{background:#f59e0b;color:#fff;border-color:#f59e0b}
.drive-locked{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:8px;font-size:12px;font-weight:500;color:#94a3b8;background:#f8fafc;border:1px solid #e2e8f0;cursor:default}


.filter-pills{display:flex;gap:8px}
.filter-btn{padding:8px 16px;border:1px solid #e2e8f0;background:#fff;color:#64748b;border-radius:20px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}
.filter-btn:hover{border-color:#2563eb;color:#2563eb}
.filter-btn.active{background:#2563eb;border-color:#2563eb;color:#fff}

.profile-card{background:#fff;border-radius:14px;padding:40px;border:1px solid #f1f5f9;text-align:center;max-width:400px}
.profile-avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;border:4px solid #e2e8f0;margin-bottom:16px}
.profile-card h2{font-size:20px;font-weight:700;color:#1e293b;margin-bottom:4px}
.profile-email{font-size:14px;color:#64748b;margin-bottom:24px}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-top:24px;border-top:1px solid #f1f5f9}
.profile-stats div{display:flex;flex-direction:column;gap:4px}
.profile-stats strong{font-size:24px;font-weight:800;color:#2563eb}
.profile-stats span{font-size:12px;color:#94a3b8}

@keyframes msgSlideIn{from{opacity:0;transform:translateY(12px) scale(0.97)}to{opacity:1;transform:translateY(0) scale(1)}}

/* ===== SECTION DIVIDER ===== */
.section-divider{height:1px;background:linear-gradient(90deg,transparent,#e2e8f0,transparent);margin:32px 0 28px}

/* ===== DESIGNS REVIEW ===== */
.designs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px}
.design-card{background:#fff;border-radius:14px;border:1px solid #f1f5f9;overflow:hidden;transition:all .3s}
.design-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.06)}
.design-preview{width:100%;height:200px;background-size:cover;background-position:center;position:relative}
.design-status-badge{position:absolute;top:12px;left:12px;padding:5px 12px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.design-status-pendiente{background:rgba(251,191,36,.9);color:#92400e;backdrop-filter:blur(8px)}
.design-status-aprobado{background:rgba(16,185,129,.9);color:#fff;backdrop-filter:blur(8px)}
.design-status-rechazado{background:rgba(239,68,68,.9);color:#fff;backdrop-filter:blur(8px)}
.design-info{padding:16px 18px}
.design-name{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:4px}
.design-meta{font-size:12px;color:#64748b;margin-bottom:12px}
.design-actions{display:flex;gap:8px}
.btn-approve{flex:1;padding:10px;background:linear-gradient(135deg,#059669,#10b981);color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit}
.btn-approve:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(5,150,105,.3)}
.btn-reject{flex:1;padding:10px;background:#fff;color:#dc2626;border:1.5px solid #fecaca;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit}
.btn-reject:hover{background:#fef2f2;border-color:#f87171}
.no-designs-msg{grid-column:1/-1;text-align:center;padding:60px 20px;color:#94a3b8}
.no-designs-msg svg{margin-bottom:16px}
.no-designs-msg p{font-size:16px;font-weight:600;color:#64748b;margin-bottom:6px}
.no-designs-msg span{font-size:13px;color:#94a3b8}

/* ===== PLANS V2 ===== */
.plans-hero{background:linear-gradient(135deg,#034694 0%,#02367a 40%,#0157b3 100%);border-radius:20px;padding:48px 40px;margin-bottom:28px;position:relative;overflow:hidden;color:#fff}
.plans-hero-content{position:relative;z-index:2}
.plans-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:50px;font-size:13px;font-weight:600;margin-bottom:20px;backdrop-filter:blur(8px)}
.plans-hero-title{font-size:36px;font-weight:800;letter-spacing:-.03em;margin:0 0 12px;line-height:1.15}
.plans-hero-title .gradient-text{background:linear-gradient(135deg,#60d5f7,#00B6EB);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.plans-hero-subtitle{font-size:16px;color:rgba(255,255,255,.65);max-width:600px;margin:0 0 28px;line-height:1.6}
.plans-hero-stats{display:flex;align-items:center;gap:32px}
.plan-stat{display:flex;flex-direction:column;align-items:center;gap:8px}
.plan-stat-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;animation:statIconFloat 3s ease-in-out infinite}
.anim-icon-fast{background:linear-gradient(135deg,rgba(0,182,235,.25),rgba(0,182,235,.08));animation-delay:0s}
.anim-icon-save{background:linear-gradient(135deg,rgba(16,185,129,.25),rgba(16,185,129,.08));animation-delay:.5s}
.anim-icon-time{background:linear-gradient(135deg,rgba(251,191,36,.25),rgba(251,191,36,.08));animation-delay:1s}
@keyframes statIconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
.plan-stat-number{font-size:28px;font-weight:800;color:#fff;line-height:1}
.plan-stat-label{font-size:12px;color:rgba(255,255,255,.6);margin-top:2px}
.plan-stat-divider{width:1px;height:48px;background:rgba(255,255,255,.2)}
.plans-hero-deco{position:absolute;top:0;right:0;bottom:0;width:50%;z-index:1}
.plans-deco-circle{position:absolute;border-radius:50%;border:1.5px solid rgba(255,255,255,.08)}
.plans-deco-1{width:300px;height:300px;top:-80px;right:-60px}
.plans-deco-2{width:200px;height:200px;top:40px;right:80px}
.plans-deco-3{width:140px;height:140px;bottom:-30px;right:20px}

.plans-tabs{display:flex;gap:16px;margin-bottom:32px}
.plans-tab{display:flex;align-items:center;gap:14px;padding:20px 36px;border-radius:16px;border:2px solid #e2e8f0;background:#fff;color:#64748b;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-family:inherit;position:relative;overflow:hidden;flex:1;max-width:320px}
.plans-tab::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transition:left .5s ease}
.plans-tab:hover::before{left:100%}
.plans-tab:hover{border-color:#034694;color:#034694;transform:translateY(-3px);box-shadow:0 8px 24px rgba(3,70,148,.12);background:#f0f7ff}
.plans-tab.active{background:linear-gradient(135deg,#034694 0%,#004793 60%,#00B6EB 100%);color:#fff;border-color:transparent;box-shadow:0 10px 32px rgba(3,70,148,.35);animation:tabActivePulse 2.5s ease-in-out infinite}
.plans-tab.active::before{display:none}
.plans-tab-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .3s}
.plans-tab:not(.active) .plans-tab-icon{background:#f1f5f9;color:#64748b}
.plans-tab:hover:not(.active) .plans-tab-icon{background:#dbeafe;color:#034694}
.plans-tab.active .plans-tab-icon{background:rgba(255,255,255,.18);color:#fff}
.plans-tab-text{display:flex;flex-direction:column}
.plans-tab-text strong{font-size:16px;font-weight:700;line-height:1.2}
.plans-tab-text small{font-size:12px;opacity:.65;font-weight:500;margin-top:2px}
.plans-tab.active .plans-tab-text small{opacity:.8}
@keyframes tabActivePulse{0%,100%{box-shadow:0 10px 32px rgba(3,70,148,.35)}50%{box-shadow:0 10px 40px rgba(0,182,235,.45)}}

.plans-subtitle-bar{margin-bottom:20px}
.plans-subtitle-bar h2{font-size:20px;font-weight:700;color:#1e293b;margin:0 0 4px}
.plans-subtitle-bar p{font-size:13px;color:#64748b;margin:0}

.plans-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.plans-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.plans-grid-1{display:grid;grid-template-columns:1fr;max-width:700px}

.plan-card-ng{background:#fff;border-radius:16px;border:1px solid #e2e8f0;overflow:hidden;transition:all .3s;position:relative;display:flex;flex-direction:column}
.plan-card-ng:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(0,0,0,.1)}
.plan-card-featured-ng{border:2px solid #034694;box-shadow:0 8px 32px rgba(3,70,148,.12)}
.plan-card-popular{position:absolute;top:0;right:20px;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;font-size:11px;font-weight:700;padding:6px 16px;border-radius:0 0 10px 10px;letter-spacing:.3px;text-transform:uppercase;z-index:5}
.plan-card-top{padding:32px 28px 24px;text-align:center;position:relative}
.top-blue{background:linear-gradient(135deg,#034694,#004793);color:#fff}
.top-dark{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff}
.top-navy{background:linear-gradient(135deg,#1e3a5f,#0f2847);color:#fff}
.top-gradient{background:linear-gradient(135deg,#034694 0%,#004793 50%,#00B6EB 100%);color:#fff}
.plan-card-top svg{margin-bottom:16px;opacity:.8}
.plan-card-tier{display:block;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:1px;opacity:.7;margin-bottom:4px}
.plan-card-top h3{font-size:28px;font-weight:800;margin:0 0 16px;letter-spacing:-.02em}
.plan-card-price{display:flex;align-items:baseline;justify-content:center;gap:4px}
.plan-card-price .plan-currency{font-size:20px;font-weight:700;vertical-align:top}
.plan-card-price .plan-amount{font-size:38px;font-weight:800;letter-spacing:-.03em}
.plan-card-price .plan-period{font-size:14px;font-weight:500;opacity:.7}
.plan-card-count{display:inline-block;margin-top:8px;font-size:13px;font-weight:600;opacity:.8;background:rgba(255,255,255,.15);padding:4px 14px;border-radius:20px}
.plan-card-tagline{font-size:14px;opacity:.7;margin:0 0 16px}
.plan-card-alt{display:block;margin-top:8px;font-size:12px;font-weight:600;background:rgba(255,255,255,.15);padding:6px 14px;border-radius:8px;opacity:.9}

.plan-card-body{padding:24px 28px 28px;flex:1;display:flex;flex-direction:column}
.plan-card-desc{display:flex;gap:10px;margin-bottom:20px}
.desc-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;margin-top:4px}
.dot-blue{background:#034694}
.dot-green{background:#10b981}
.dot-red{background:#ef4444}
.dot-purple{background:#8b5cf6}
.plan-card-desc p{font-size:13px;color:#475569;line-height:1.6;margin:0}
.plan-card-features{list-style:none;padding:0;margin:0 0 24px;flex:1}
.plan-card-features li{display:flex;align-items:center;gap:10px;font-size:13px;color:#334155;padding:7px 0}
.plan-card-features li svg{flex-shrink:0}
.plan-card-split{display:flex;gap:20px;margin-bottom:20px}
.plan-card-split .plan-card-desc{flex:1;margin:0}
.plan-card-pricing-detail{flex:0 0 220px;background:#f8fafc;border-radius:12px;padding:16px;border:1px solid #e2e8f0}
.pricing-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0}
.pricing-row+.pricing-row{border-top:1px solid #e2e8f0;margin-top:6px;padding-top:10px}
.pricing-label{font-size:12px;color:#64748b}
.pricing-value{font-size:13px;font-weight:700;color:#1e293b}
.pricing-highlight{color:#034694;font-size:15px}
.pricing-save{color:#10b981}

.btn-plan-ng{width:100%;padding:14px;border-radius:12px;font-size:14px;font-weight:700;cursor:pointer;transition:all .25s;font-family:inherit;text-transform:uppercase;letter-spacing:.5px}
.btn-plan-outline{background:#fff;color:#034694;border:2px solid #034694}
.btn-plan-outline:hover{background:#f0f9ff;transform:translateY(-2px);box-shadow:0 6px 20px rgba(3,70,148,.15)}
.btn-plan-solid{background:linear-gradient(135deg,#034694,#004793);color:#fff;border:2px solid transparent}
.btn-plan-solid:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(3,70,148,.3)}

@media(max-width:1024px){.plans-grid-3,.plans-grid-2{grid-template-columns:1fr}.plan-card-split{flex-direction:column}.plan-card-pricing-detail{flex:none}}

/* ===== POLICIES V2 ===== */
.policies-hero{display:flex;align-items:center;gap:20px;background:linear-gradient(135deg,#034694 0%,#004793 50%,#00B6EB 100%);border-radius:16px;padding:28px 32px;margin-bottom:28px;position:relative;overflow:hidden}
.policies-hero::before{content:'';position:absolute;top:-40px;right:-40px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.06)}
.policies-hero::after{content:'';position:absolute;bottom:-60px;right:60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.04)}
.policies-hero-icon{width:56px;height:56px;border-radius:14px;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid rgba(255,255,255,.2);position:relative;z-index:1}
.policies-hero h2{color:#fff;font-size:20px;font-weight:700;margin-bottom:4px;letter-spacing:-0.02em;position:relative;z-index:1}
.policies-hero p{color:rgba(255,255,255,.7);font-size:14px;position:relative;z-index:1}

.policies-grid{display:flex;flex-direction:column;gap:14px}
.policy-card-v2{display:flex;background:#fff;border-radius:14px;border:1px solid #e2e8f0;overflow:hidden;transition:all .3s;cursor:pointer}
.policy-card-v2:hover{box-shadow:0 8px 28px rgba(0,0,0,.06);border-color:#cbd5e1;transform:translateY(-2px)}
.policy-accent{width:5px;flex-shrink:0}
.accent-blue{background:linear-gradient(180deg,#3b82f6,#2563eb)}
.accent-green{background:linear-gradient(180deg,#10b981,#059669)}
.accent-orange{background:linear-gradient(180deg,#f59e0b,#d97706)}
.accent-red{background:linear-gradient(180deg,#ef4444,#dc2626)}
.accent-purple{background:linear-gradient(180deg,#8b5cf6,#7c3aed)}
.accent-teal{background:linear-gradient(180deg,#14b8a6,#0d9488)}
.accent-cyan{background:linear-gradient(180deg,#06b6d4,#0891b2)}
.accent-indigo{background:linear-gradient(180deg,#6366f1,#4f46e5)}
.accent-amber{background:linear-gradient(180deg,#f59e0b,#b45309)}
.accent-slate{background:linear-gradient(180deg,#64748b,#475569)}
.accent-rose{background:linear-gradient(180deg,#f43f5e,#e11d48)}
.accent-emerald{background:linear-gradient(180deg,#10b981,#047857)}
.policy-card-content{flex:1;padding:0}
.policy-card-top{display:flex;align-items:center;gap:16px;padding:20px 24px;transition:background .2s}
.policy-card-v2:hover .policy-card-top{background:#f8fafc}
.policy-icon-wrap{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .3s}
.policy-card-v2:hover .policy-icon-wrap{transform:scale(1.08)}
.policy-icon-wrap.blue{background:#eff6ff;color:#2563eb}
.policy-icon-wrap.green{background:#ecfdf5;color:#059669}
.policy-icon-wrap.orange{background:#fffbeb;color:#d97706}
.policy-icon-wrap.red{background:#fef2f2;color:#dc2626}
.policy-icon-wrap.purple{background:#f5f3ff;color:#7c3aed}
.policy-icon-wrap.teal{background:#f0fdfa;color:#0d9488}
.policy-icon-wrap.cyan{background:#ecfeff;color:#0891b2}
.policy-icon-wrap.indigo{background:#eef2ff;color:#4f46e5}
.policy-icon-wrap.amber{background:#fffbeb;color:#b45309}
.policy-icon-wrap.slate{background:#f1f5f9;color:#475569}
.policy-icon-wrap.rose{background:#fff1f2;color:#e11d48}
.policy-icon-wrap.emerald{background:#ecfdf5;color:#047857}
.policy-card-info{flex:1}
.policy-card-info h3{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:2px}
.policy-card-info p{font-size:12px;color:#64748b;margin:0}
.policy-chevron{color:#94a3b8;transition:transform .3s;flex-shrink:0}
.policy-card-v2.open .policy-chevron{transform:rotate(180deg)}
.policy-card-body{max-height:0;overflow:hidden;transition:max-height .4s cubic-bezier(.4,0,.2,1),padding .3s;padding:0 24px 0 84px}
.policy-card-v2.open .policy-card-body{max-height:600px;padding:0 24px 24px 84px}
.policy-card-body p{font-size:13px;color:#475569;line-height:1.8;margin-bottom:12px}
.policy-card-body p:last-child{margin-bottom:0}
.policy-card-body p strong{color:#1e293b}

.policies-footer{margin-top:28px;border-radius:14px;overflow:hidden;border:1px solid #e2e8f0}
.policies-footer-inner{display:flex;align-items:center;gap:16px;padding:20px 24px;background:linear-gradient(135deg,#f0f9ff,#eff6ff)}
.policies-footer-inner svg{color:#034694;flex-shrink:0}
.policies-footer-title{font-size:14px;font-weight:700;color:#1e293b;margin-bottom:2px}
.policies-footer-text{font-size:12px;color:#64748b;margin:0}
.policies-footer-btn{margin-left:auto;padding:10px 20px;background:linear-gradient(135deg,#034694,#004793);color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s;white-space:nowrap;font-family:inherit;flex-shrink:0}
.policies-footer-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(3,70,148,.3)}

/* ===== SUPPORT V2 ===== */
.support-hero{position:relative;border-radius:20px;overflow:hidden;margin-bottom:32px;padding:48px 40px;background:linear-gradient(135deg,#034694 0%,#02367a 100%);text-align:center}
.support-hero-bg{position:absolute;inset:0;overflow:hidden}
.hero-blob{position:absolute;border-radius:50%;filter:blur(80px);opacity:.2}
.hero-blob-1{width:300px;height:300px;background:#3b82f6;top:-80px;left:-60px;animation:blobFloat 12s ease-in-out infinite}
.hero-blob-2{width:250px;height:250px;background:#06b6d4;bottom:-60px;right:-40px;animation:blobFloat 15s ease-in-out infinite reverse}
.hero-blob-3{width:200px;height:200px;background:#8b5cf6;top:40%;left:50%;animation:blobFloat 10s ease-in-out infinite}
@keyframes blobFloat{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(30px,-30px) scale(1.1)}}
.support-hero-content{position:relative;z-index:1}
.support-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:50px;color:rgba(255,255,255,.8);font-size:13px;font-weight:600;margin-bottom:20px;backdrop-filter:blur(10px)}
.badge-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 10px rgba(16,185,129,.5);animation:pulse 2s infinite}
.support-hero-title{font-size:42px;font-weight:800;color:#fff;letter-spacing:-0.03em;margin-bottom:12px;line-height:1.1}
.gradient-text{background:linear-gradient(135deg,#06b6d4,#3b82f6,#8b5cf6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.support-hero-subtitle{font-size:16px;color:rgba(255,255,255,.55);max-width:520px;margin:0 auto 28px;line-height:1.6}
.support-hero-stats{display:flex;justify-content:center;gap:40px}
.hero-stat{display:flex;align-items:center;gap:10px;color:#fff}
.hero-stat svg{opacity:.5}
.hero-stat strong{font-size:18px;font-weight:800;display:block}
.hero-stat span{font-size:11px;color:rgba(255,255,255,.45);display:block;margin-top:2px}

.support-steps{margin-bottom:32px}
.steps-title{font-size:22px;font-weight:800;color:#1e293b;margin-bottom:4px;text-align:center}
.steps-subtitle{font-size:14px;color:#64748b;margin-bottom:24px;text-align:center}
.steps-grid{display:flex;align-items:flex-start;justify-content:center;gap:0}
.step-card{text-align:center;padding:24px 20px;flex:1;max-width:260px;position:relative}
.step-number{font-size:48px;font-weight:900;color:#f1f5f9;position:absolute;top:0;left:50%;transform:translateX(-50%);line-height:1;pointer-events:none}
.step-icon{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;position:relative;z-index:1;transition:transform .3s}
.step-card:hover .step-icon{transform:scale(1.1) rotate(-3deg)}
.step-icon.blue{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#2563eb}
.step-icon.purple{background:linear-gradient(135deg,#ede9fe,#ddd6fe);color:#7c3aed}
.step-icon.green{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#16a34a}
.step-card h3{font-size:15px;font-weight:700;color:#1e293b;margin-bottom:6px}
.step-card p{font-size:12px;color:#64748b;line-height:1.5}
.step-connector{display:flex;align-items:center;padding-top:50px}

.support-categories{margin-bottom:28px}
.categories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.category-card{background:#fff;border:1.5px solid #e2e8f0;border-radius:14px;padding:22px 18px;text-align:center;cursor:pointer;transition:all .3s}
.category-card:hover{border-color:#034694;background:#f0f9ff;transform:translateY(-3px);box-shadow:0 8px 24px rgba(3,70,148,.08)}
.category-icon{width:48px;height:48px;border-radius:14px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;color:#64748b;transition:all .3s}
.category-card:hover .category-icon{background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;transform:scale(1.1)}
.category-card h4{font-size:14px;font-weight:700;color:#1e293b;margin-bottom:4px}
.category-card p{font-size:11px;color:#94a3b8;margin:0}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}

.support-chat-container{background:#fff;border-radius:16px;border:1px solid #e2e8f0;overflow:hidden;display:flex;flex-direction:column;height:calc(100vh - 380px);min-height:480px;box-shadow:0 4px 24px rgba(0,0,0,.04)}

.chat-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:linear-gradient(135deg,#034694 0%,#02367a 60%,#012a66 100%);position:relative;overflow:hidden}
.chat-header::before{content:'';position:absolute;top:-30px;right:-30px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.04)}
.chat-header::after{content:'';position:absolute;bottom:-50px;right:40px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.03)}
.chat-header-left{display:flex;align-items:center;gap:14px;position:relative;z-index:1}
.chat-avatar-wrap{position:relative}
.chat-avatar{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.12);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.15)}
.chat-online-dot{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;border-radius:50%;background:#10b981;border:2px solid #034694;box-shadow:0 0 8px rgba(16,185,129,.5)}
.chat-header-info h3{color:#fff;font-size:15px;font-weight:700;margin-bottom:2px}
.chat-header-info p{color:rgba(255,255,255,.6);font-size:12px;margin:0}
.chat-header-right{display:flex;align-items:center;gap:10px;position:relative;z-index:1}
.chat-ticket-badge{display:flex;align-items:center;gap:6px;padding:6px 14px;background:rgba(16,185,129,.15);border:1px solid rgba(16,185,129,.25);border-radius:20px;color:#6ee7b7;font-size:12px;font-weight:700;backdrop-filter:blur(8px);animation:ticketAppear .5s cubic-bezier(.16,1,.3,1)}
@keyframes ticketAppear{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}
.chat-header-badge{display:flex;align-items:center;gap:6px;padding:6px 14px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);border-radius:20px;color:#fff;font-size:12px;font-weight:600;backdrop-filter:blur(8px)}

.chat-messages{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px;background:#f8fafc}

.chat-welcome{text-align:center;padding:40px 20px;animation:welcomeFadeIn .6s ease}
@keyframes welcomeFadeIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
.chat-welcome-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,#dbeafe,#bfdbfe);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;animation:welcomeBounce 2s ease-in-out infinite}
@keyframes welcomeBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.chat-welcome h3{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:6px}
.chat-welcome p{font-size:13px;color:#64748b}

.chat-msg{display:flex;gap:10px;align-items:flex-start;animation:msgFadeIn .3s ease}
.chat-msg.me{flex-direction:row-reverse}
.chat-msg-content{flex:0 0 auto;min-width:0}
.chat-msg-avatar{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.chat-msg:not(.me) .chat-msg-avatar{background:linear-gradient(135deg,#034694,#00B6EB);color:#fff}
.chat-msg.me .chat-msg-avatar{background:#034694;color:#fff}
.chat-msg-bubble{padding:12px 16px;border-radius:16px;font-size:13px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word;display:inline-block}
.chat-msg:not(.me) .chat-msg-bubble{background:#fff;border:1px solid #e2e8f0;border-radius:4px 16px 16px 16px;color:#1e293b}
.chat-msg.me .chat-msg-bubble{background:linear-gradient(135deg,#034694,#004793);color:#fff;border-radius:16px 4px 16px 16px}
.chat-msg-time{font-size:10px;color:#94a3b8;margin-top:4px}
.chat-msg.me .chat-msg-time{text-align:right}
@keyframes msgFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}

.chat-input-area{padding:16px 24px 20px;border-top:1px solid #f1f5f9;background:#fff}
.chat-input-wrap{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:14px;padding:4px 4px 4px 18px;transition:all .3s}
.chat-input-wrap:focus-within{border-color:#034694;box-shadow:0 0 0 4px rgba(3,70,148,.06);background:#fff}
.chat-input-wrap input{flex:1;border:none;outline:none;background:none;font-size:14px;color:#1e293b;padding:10px 0;font-family:inherit}
.chat-input-wrap input::placeholder{color:#94a3b8}
.chat-send-btn{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;flex-shrink:0}
.chat-send-btn:hover{transform:scale(1.06);box-shadow:0 6px 16px rgba(3,70,148,.3)}
.chat-send-btn:active{transform:scale(.95)}
.chat-input-hint{text-align:center;font-size:11px;color:#94a3b8;margin-top:10px}

/* ===== GEMINI SUPPORT ===== */
.gemini-support{background:#fff;border-radius:0;overflow:hidden}
.gemini-sidebar{width:280px;min-width:280px;background:#f8fafc;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;height:100%}
.gemini-sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:20px 18px 14px}
.gemini-new-chat-btn{width:36px;height:36px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;color:#475569;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}
.gemini-new-chat-btn:hover{background:#034694;color:#fff;border-color:#034694;transform:scale(1.05)}
.gemini-sidebar-search{display:flex;align-items:center;gap:8px;padding:8px 14px;margin:0 14px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:10px}
.gemini-sidebar-search input{flex:1;border:none;outline:none;background:none;font-size:13px;color:#1e293b;font-family:inherit}
.gemini-sidebar-search input::placeholder{color:#94a3b8}
.gemini-sidebar-label{padding:0 18px;font-size:11px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.gemini-sidebar-list{flex:1;overflow-y:auto;padding:0 10px}
.gemini-history-empty{text-align:center;padding:30px 16px;color:#94a3b8;font-size:13px}
.gemini-history-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:all .15s;margin-bottom:2px;position:relative}
.gemini-history-item:hover{background:#e8f0fe}
.gemini-history-item.active{background:#e0ecff}
.gemini-history-item-icon{width:32px;height:32px;border-radius:8px;background:#e8f0fe;color:#034694;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.gemini-history-item.active .gemini-history-item-icon{background:#034694;color:#fff}
.gemini-history-item-text{flex:1;min-width:0}
.gemini-history-item-title{font-size:13px;font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gemini-history-item-meta{font-size:11px;color:#94a3b8;margin-top:1px}
.gemini-history-item-delete{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:6px;border:none;background:transparent;color:#94a3b8;cursor:pointer;display:none;align-items:center;justify-content:center;font-size:14px;transition:all .15s}
.gemini-history-item:hover .gemini-history-item-delete{display:flex}
.gemini-history-item-delete:hover{background:#fee2e2;color:#dc2626}
.gemini-sidebar-footer{padding:14px 18px;border-top:1px solid #e2e8f0}
.gemini-sidebar-user{display:flex;align-items:center;gap:10px}
.gemini-user-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}
.gemini-sidebar-user span{font-size:13px;font-weight:600;color:#1e293b}

.gemini-main{flex:1;display:flex;flex-direction:column;height:100%;position:relative;overflow:hidden;background:#f8fafc}
.gemini-light-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.gemini-orb{position:absolute;border-radius:50%;filter:blur(100px);opacity:.12;animation:geminiOrbFloat 14s ease-in-out infinite}
.gemini-orb-1{width:400px;height:400px;background:#034694;top:-100px;right:-80px}
.gemini-orb-2{width:300px;height:300px;background:#06b6d4;bottom:-60px;left:-40px;animation-delay:-5s;animation-duration:18s}
.gemini-orb-3{width:250px;height:250px;background:#8b5cf6;top:40%;left:40%;animation-delay:-8s;animation-duration:12s}
@keyframes geminiOrbFloat{0%,100%{transform:translate(0,0) scale(1)}33%{transform:translate(30px,-20px) scale(1.05)}66%{transform:translate(-20px,15px) scale(.95)}}

.gemini-chat-area{flex:1;overflow-y:auto;position:relative;z-index:1;display:flex;flex-direction:column}
.gemini-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;text-align:center;animation:geminiWelcomeIn .8s cubic-bezier(.16,1,.3,1)}
@keyframes geminiWelcomeIn{from{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.gemini-sparkle{width:80px;height:80px;border-radius:24px;background:linear-gradient(135deg,#e0ecff,#dbeafe);display:flex;align-items:center;justify-content:center;margin:0 auto 24px;animation:geminiSparkle 3s ease-in-out infinite;box-shadow:0 8px 32px rgba(3,70,148,.12)}
@keyframes geminiSparkle{0%,100%{transform:translateY(0) scale(1);box-shadow:0 8px 32px rgba(3,70,148,.12)}50%{transform:translateY(-8px) scale(1.04);box-shadow:0 16px 48px rgba(3,70,148,.2)}}
.gemini-greeting{font-size:36px;font-weight:800;color:#1e293b;margin-bottom:8px;line-height:1.2;letter-spacing:-.02em}
.gemini-greeting span{background:linear-gradient(135deg,#034694,#00B6EB);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.gemini-greeting-sub{font-size:15px;color:#64748b;margin:0 auto 36px;max-width:480px;line-height:1.6}
.gemini-suggestions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:600px}
.gemini-suggestion-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;background:#fff;border:1px solid #e2e8f0;border-radius:24px;font-size:13px;font-weight:500;color:#475569;cursor:pointer;transition:all .25s;font-family:inherit;white-space:nowrap}
.gemini-suggestion-chip:hover{border-color:#034694;color:#034694;background:#f0f7ff;transform:translateY(-2px);box-shadow:0 4px 16px rgba(3,70,148,.08)}
.gemini-suggestion-chip:active{transform:translateY(0)}

.gemini-messages{flex:1;display:flex;flex-direction:column;gap:20px;padding:32px 24px;max-width:800px;width:100%;margin:0 auto}
.gemini-msg{display:flex;gap:12px;align-items:flex-start;animation:geminiMsgIn .4s cubic-bezier(.16,1,.3,1)}
.gemini-msg-me{flex-direction:row-reverse}
@keyframes geminiMsgIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.gemini-msg-avatar-bot{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,#034694,#00B6EB);display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 8px rgba(3,70,148,.2)}
.gemini-msg-content{flex:1;min-width:0;max-width:75%}
.gemini-msg-bubble{padding:14px 18px;border-radius:18px;font-size:14px;line-height:1.65;word-wrap:break-word;overflow-wrap:break-word}
.gemini-msg-bubble.bot{background:#fff;border:1px solid #e2e8f0;border-radius:4px 18px 18px 18px;color:#1e293b;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.gemini-msg-bubble.me{background:linear-gradient(135deg,#034694,#004793);color:#fff;border-radius:18px 4px 18px 18px;box-shadow:0 2px 12px rgba(3,70,148,.2)}
.gemini-msg-time{font-size:11px;color:#94a3b8;margin-top:5px;padding:0 4px}
.gemini-msg-me .gemini-msg-time{text-align:right}

.gemini-input-area{padding:12px 24px 16px;position:relative;z-index:1}
.gemini-input-container{position:relative;max-width:800px;margin:0 auto}
.gemini-input-glow{position:absolute;inset:-2px;border-radius:20px;background:linear-gradient(135deg,#034694,#00B6EB,#8b5cf6,#034694);background-size:300% 300%;animation:geminiGlowShift 6s ease-in-out infinite;opacity:0;transition:opacity .3s}
.gemini-input-container:focus-within .gemini-input-glow{opacity:.6}
@keyframes geminiGlowShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.gemini-input-inner{display:flex;align-items:center;gap:10px;background:#fff;border:1.5px solid #e2e8f0;border-radius:16px;padding:6px 6px 6px 20px;position:relative;transition:all .3s}
.gemini-input-container:focus-within .gemini-input-inner{border-color:transparent;box-shadow:0 0 0 1px rgba(3,70,148,.1)}
.gemini-input-inner input{flex:1;border:none;outline:none;background:none;font-size:15px;color:#1e293b;padding:10px 0;font-family:inherit}
.gemini-input-inner input::placeholder{color:#94a3b8}
.gemini-send-btn{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s;flex-shrink:0}
.gemini-send-btn:hover{transform:scale(1.08);box-shadow:0 6px 20px rgba(3,70,148,.3)}
.gemini-send-btn:active{transform:scale(.94)}
.gemini-input-disclaimer{text-align:center;font-size:11px;color:#94a3b8;margin-top:10px}

@media(max-width:768px){
  .gemini-sidebar{display:none}
  .gemini-greeting{font-size:26px}
  .gemini-suggestions{flex-direction:column;align-items:stretch}
  .gemini-suggestion-chip{justify-content:center}
  .gemini-messages{padding:20px 16px}
}

/* ===== TOAST ===== */
#toast-container{position:fixed;bottom:24px;right:24px;z-index:9999;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.toast-msg{pointer-events:auto;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;border-left:4px solid #10b981;border-radius:12px;padding:12px 16px;box-shadow:0 10px 30px rgba(0,0,0,.12);font-size:13px;font-weight:500;color:#1e293b;min-width:280px;max-width:400px;animation:slideInRight .3s ease;transition:all .3s ease}
.toast-msg.warning{border-left-color:#f59e0b}
.toast-msg.info{border-left-color:#0ea5e9}
@keyframes slideInRight{from{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){.products-grid{grid-template-columns:repeat(2,1fr)}.plans-grid{grid-template-columns:1fr}}
@media(max-width:768px){
  .login-container{flex-direction:column}
  .login-left-content{padding:24px 20px 12px}
  .login-logo{width:120px}
  .login-logo-container{margin-bottom:12px}
  .login-phrase{font-size:16px}
  .login-phrases-container{height:80px}
  .login-subtitle{font-size:11px}
  .login-dots{margin-top:10px}
  .trust-signals{display:none}
  .portfolio-carousel{display:none}
  .login-left-panel{overflow:hidden}
  .login-right-panel{min-height:auto;padding:28px 20px}
  .login-form-card{padding:24px;max-height:none}
  .form-header h2{font-size:18px}
  .form-header p{font-size:12px}
  .policies-hero{flex-direction:column;text-align:center;padding:24px 20px}
  .policy-card-body{padding-left:24px}
  .policy-card-v2.open .policy-card-body{padding-left:24px}
  .policies-footer-inner{flex-direction:column;text-align:center}.policies-footer-btn{margin-left:0}
  .support-hero{padding:32px 20px}.support-hero-title{font-size:28px}.support-hero-stats{flex-direction:column;gap:12px;align-items:center}
  .steps-grid{flex-direction:column;align-items:center}.step-connector{transform:rotate(90deg);padding:0}
  .categories-grid{grid-template-columns:repeat(2,1fr)}
}

/* ===== PRODUCT DETAIL MODAL ===== */
.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(10,22,40,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:1000;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .35s cubic-bezier(.4,0,.2,1)}
.modal-overlay.active{opacity:1;pointer-events:all}
.modal-container{background:#fff;border-radius:24px;width:92%;max-width:900px;max-height:92vh;overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,.3),0 0 0 1px rgba(255,255,255,.05);transform:translateY(40px) scale(.95);transition:transform .4s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column}
.modal-overlay.active .modal-container{transform:translateY(0) scale(1)}
.modal-topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 28px;border-bottom:1px solid #f1f5f9;flex-shrink:0;background:#fff}
.modal-topbar-left{display:flex;align-items:center;gap:14px}
.modal-back-btn{width:40px;height:40px;border-radius:12px;border:1.5px solid #e2e8f0;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .25s}
.modal-back-btn:hover{background:#f0f7ff;border-color:#034694;transform:translateX(-2px)}
.modal-back-btn svg{color:#034694}
.modal-topbar-title{font-size:18px;font-weight:700;color:#0a1628;letter-spacing:-.3px}
.modal-topbar-right{display:flex;align-items:center;gap:10px}
.modal-cart-btn{width:40px;height:40px;border-radius:12px;border:1.5px solid #e2e8f0;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .25s;position:relative}
.modal-cart-btn:hover{background:#f0f7ff;border-color:#034694}
.modal-cart-btn svg{color:#034694}
.modal-cart-badge{position:absolute;top:-4px;right:-4px;width:18px;height:18px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:10px;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.modal-close-btn{width:40px;height:40px;border-radius:12px;border:1.5px solid #e2e8f0;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .25s}
.modal-close-btn:hover{background:#fef2f2;border-color:#ef4444;transform:rotate(90deg)}
.modal-close-btn svg{color:#64748b;transition:color .25s}
.modal-close-btn:hover svg{color:#ef4444}
.modal-body{display:flex;overflow:hidden;flex:1;min-height:0}
.modal-body.type-step{overflow:visible}
.modal-body.type-step .modal-img-section{display:none}
.modal-body.type-step .modal-info-section{flex:1;max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:16px 36px;background:linear-gradient(160deg,#fafcff 0%,#f0f4fa 50%,#e8f0fe 100%);position:relative;min-height:0}
.modal-body.type-step .modal-info-section::before{content:'';position:absolute;top:-80px;right:-80px;width:240px;height:240px;background:radial-gradient(circle,rgba(3,70,148,.05) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.modal-body.type-step .modal-info-section::after{content:'';position:absolute;bottom:-60px;left:-60px;width:200px;height:200px;background:radial-gradient(circle,rgba(0,182,235,.04) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.modal-body.type-step .modal-info-section::-webkit-scrollbar{display:none}
.modal-img-section{width:44%;background:linear-gradient(145deg,#f0f4f8,#e8eef5);display:flex;align-items:center;justify-content:center;padding:40px;border-right:1px solid #f1f5f9;flex-shrink:0;position:relative}
.modal-img-section::before{content:'';position:absolute;top:20px;right:20px;width:80px;height:80px;background:radial-gradient(circle,rgba(3,70,148,.06) 0%,transparent 70%);border-radius:50%}
.modal-img-section::after{content:'';position:absolute;bottom:20px;left:20px;width:60px;height:60px;background:radial-gradient(circle,rgba(0,182,235,.06) 0%,transparent 70%);border-radius:50%}
.modal-img-frame{width:100%;max-width:360px;aspect-ratio:1/1;border-radius:20px;border:2.5px solid #034694;display:flex;align-items:center;justify-content:center;padding:24px;background:#fff;box-shadow:0 8px 32px rgba(3,70,148,.08),inset 0 1px 0 rgba(255,255,255,.8);transition:transform .4s cubic-bezier(.4,0,.2,1)}
.modal-img-frame:hover{transform:scale(1.02)}
.modal-img-frame img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.modal-img-frame svg{opacity:.2}
.modal-info-section{width:56%;padding:36px;overflow-y:auto;display:flex;flex-direction:column}
.modal-product-name{font-size:28px;font-weight:800;background:linear-gradient(135deg,#034694,#00B6EB);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:14px;line-height:1.2;letter-spacing:-.5px}
.modal-desc-wrapper{display:flex;gap:14px;margin-bottom:28px;padding:18px 20px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:14px;border-left:4px solid #034694;align-items:flex-start}
.modal-desc-icon{flex-shrink:0;width:40px;height:40px;background:linear-gradient(135deg,#034694,#0052a3);border-radius:12px;display:flex;align-items:center;justify-content:center;margin-top:2px}
.modal-desc-icon svg{color:#fff;width:20px;height:20px}
.modal-product-desc{font-size:14px;color:#475569;line-height:1.8;flex:1}
.modal-divider{height:1px;background:linear-gradient(90deg,transparent,#e2e8f0,transparent);margin-bottom:24px}
.modal-textarea{width:100%;min-height:100px;padding:14px 16px;border:1.5px solid #e2e8f0;border-radius:12px;font-size:14px;font-family:inherit;color:#1e293b;resize:vertical;outline:none;transition:border-color .2s,box-shadow .2s;background:#f8fafc;line-height:1.6}
.modal-textarea:focus{border-color:#034694;box-shadow:0 0 0 3px rgba(3,70,148,.08);background:#fff}
.modal-textarea::placeholder{color:#94a3b8}
.modal-desc-hint{font-size:12px;color:#94a3b8;margin-top:6px;text-align:right}
.modal-section-label{font-size:13px;font-weight:700;color:#034694;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.modal-section-label svg{color:#034694}
.modal-options{display:flex;flex-direction:column;gap:10px;margin-bottom:20px}
.modal-option{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border:2px solid #e8ecf1;border-radius:14px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);background:#fff;position:relative;overflow:hidden}
.modal-option::before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:linear-gradient(180deg,#034694,#00B6EB);opacity:0;transition:opacity .3s}
.modal-option:hover{border-color:#93c5fd;background:#f8fafc;transform:translateX(6px)}
.modal-option:hover::before{opacity:1}
.modal-option.selected{border-color:#034694;background:linear-gradient(135deg,#eff6ff,#f0f7ff);box-shadow:0 4px 20px rgba(3,70,148,.12)}
.modal-option.selected::before{opacity:1}
.modal-option-left{display:flex;align-items:center;gap:14px}
.modal-option-radio{width:22px;height:22px;border-radius:50%;border:2.5px solid #cbd5e1;display:flex;align-items:center;justify-content:center;transition:all .3s;flex-shrink:0;position:relative}
.modal-option.selected .modal-option-radio{border-color:#034694;background:#034694;box-shadow:0 0 0 4px rgba(3,70,148,.15)}
.modal-option.selected .modal-option-radio::after{content:'';width:8px;height:8px;border-radius:50%;background:#fff}
.modal-option-text{font-size:15px;font-weight:600;color:#1e293b;letter-spacing:-.2px}
.modal-option-price{font-size:17px;font-weight:800;background:linear-gradient(135deg,#034694,#00B6EB);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.3px}
.modal-custom-option{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border:2px dashed #d1d5db;border-radius:14px;cursor:pointer;transition:all .3s;background:#fafbfc;position:relative}
.modal-custom-option:hover{border-color:#034694;background:#f0f7ff}
.modal-custom-option-left{display:flex;align-items:center;gap:14px}
.modal-custom-plus{width:22px;height:22px;border-radius:50%;border:2.5px dashed #94a3b8;display:flex;align-items:center;justify-content:center;font-size:13px;color:#64748b;font-weight:700;transition:all .3s}
.modal-custom-option:hover .modal-custom-plus{border-color:#034694;color:#034694}
.modal-custom-text{font-size:15px;font-weight:600;color:#1e293b}
.modal-custom-price{font-size:14px;font-weight:700;color:#034694}
.modal-add-btn{width:100%;padding:18px;background:linear-gradient(135deg,#034694,#0052a3);color:#fff;border:none;border-radius:14px;font-size:16px;font-weight:700;cursor:pointer;transition:all .35s cubic-bezier(.4,0,.2,1);font-family:inherit;text-transform:uppercase;letter-spacing:.8px;margin-top:auto;flex-shrink:0;position:relative;overflow:hidden}
.modal-add-btn::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.15),transparent);transition:left .5s}
.modal-add-btn:hover::before{left:100%}
.modal-add-btn:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(3,70,148,.4)}
.modal-add-btn:active{transform:translateY(0)}
@media(max-width:768px){.modal-container{width:96%;max-height:95vh;border-radius:20px}.modal-body{flex-direction:column}.modal-body.type-step .modal-info-section{padding:32px 20px}.modal-type-question{font-size:22px}.modal-type-sub{font-size:13px}.modal-type-cards{flex-direction:column;gap:12px}.modal-type-card{padding:24px 16px}.modal-type-icon{width:52px;height:52px;border-radius:14px}.modal-type-card:first-child:hover .modal-type-icon,.modal-type-card:last-child:hover .modal-type-icon{transform:scale(1.05)}.modal-img-section{width:100%;height:260px;border-right:none;border-bottom:1px solid #f1f5f9;padding:24px}.modal-img-frame{max-width:200px;aspect-ratio:auto;height:180px}.modal-info-section{width:100%;padding:24px}.modal-product-name{font-size:22px}}

/* ===== CHECKOUT MODAL 2026 ===== */
.checkout-modal-container{background:#fff;border-radius:24px;width:96%;max-width:900px;max-height:88vh;overflow:hidden;box-shadow:0 40px 100px rgba(3,70,148,.18),0 0 0 1px rgba(3,70,148,.06);transform:translateY(40px) scale(.96);transition:transform .4s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column}
.modal-overlay.active .checkout-modal-container{transform:translateY(0) scale(1)}

/* Header */
.checkout-modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;background:linear-gradient(135deg,#034694 0%,#02367a 60%,#00B6EB 100%);flex-shrink:0}
.checkout-header-brand{display:flex;align-items:center;gap:12px}
.checkout-logo-chip{width:40px;height:40px;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);border:1.5px solid rgba(255,255,255,.25);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.checkout-logo-chip svg{color:#fff}
.checkout-header-label{font-size:13px;font-weight:800;color:#fff;letter-spacing:1.5px;display:block}
.checkout-header-sub{font-size:11px;color:rgba(255,255,255,.65);margin:2px 0 0;letter-spacing:.3px}
.checkout-close-btn{width:36px;height:36px;background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.25);border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}
.checkout-close-btn:hover{background:rgba(255,255,255,.28);transform:rotate(90deg)}
.checkout-close-btn svg{color:#fff}

/* Progress */
.checkout-progress-bar{height:3px;background:rgba(3,70,148,.08);flex-shrink:0}
.checkout-progress-fill{height:100%;background:linear-gradient(90deg,#034694,#00B6EB);transition:width .5s cubic-bezier(.4,0,.2,1)}

/* Steps */
.checkout-steps-row{display:flex;align-items:center;justify-content:center;gap:0;padding:16px 24px 0;flex-shrink:0}
.checkout-step-item{display:flex;flex-direction:column;align-items:center;gap:4px}
.checkout-step-bubble{width:30px;height:30px;border-radius:50%;background:#e2e8f0;color:#94a3b8;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:all .3s}
.checkout-step-item.active .checkout-step-bubble{background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;box-shadow:0 4px 14px rgba(3,70,148,.35)}
.checkout-step-item.done .checkout-step-bubble{background:#10b981;color:#fff}
.checkout-step-item span{font-size:11px;font-weight:600;color:#94a3b8;letter-spacing:.3px}
.checkout-step-item.active span,.checkout-step-item.done span{color:#034694}
.checkout-step-line{flex:1;height:2px;background:#e2e8f0;margin:0 12px;margin-bottom:16px;max-width:80px}

/* Body scrollable */
.checkout-modal-body{padding:22px 28px 26px;overflow-y:auto;flex:1}

/* Two-col layout for step 1 */
.checkout-step1-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
.checkout-step1-left{display:flex;flex-direction:column;gap:16px}
.checkout-step1-right{display:flex;flex-direction:column;gap:14px}
.checkout-step1-actions{grid-column:1/-1;margin-top:4px}

/* Product card */
.checkout-product-card{display:flex;align-items:center;gap:14px;padding:16px 18px;background:linear-gradient(135deg,#f0f7ff,#e8f4fd);border:1.5px solid #bfdbfe;border-radius:16px;margin-bottom:20px}
.checkout-product-icon{width:44px;height:44px;background:linear-gradient(135deg,#034694,#0052a3);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.checkout-product-icon svg{color:#fff}
.checkout-product-info{flex:1;min-width:0}
.checkout-product-tag{font-size:10px;font-weight:700;color:#034694;text-transform:uppercase;letter-spacing:1px}
.checkout-product-name{font-size:15px;font-weight:700;color:#0a1628;margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkout-product-price-wrap{text-align:right;flex-shrink:0}
.checkout-product-label{font-size:10px;color:#64748b;text-transform:uppercase;letter-spacing:.8px;font-weight:600}
.checkout-product-price{font-size:18px;font-weight:800;color:#034694;margin:2px 0 0}

/* Field group */
.checkout-field-group{margin-bottom:18px}
.checkout-field-label{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#0a1628;margin-bottom:6px}
.checkout-field-label svg{color:#034694}
.checkout-field-hint{font-size:12px;color:#64748b;line-height:1.6;margin-bottom:10px;padding:10px 14px;background:#f8fafc;border-radius:10px;border-left:3px solid #bfdbfe}
.checkout-textarea{width:100%;border:2px solid #e2e8f0;border-radius:14px;padding:14px 16px;font-size:13px;font-family:inherit;resize:vertical;transition:all .25s;color:#1e293b;background:#fff;line-height:1.6;box-sizing:border-box}
.checkout-textarea:focus{outline:none;border-color:#034694;box-shadow:0 0 0 4px rgba(3,70,148,.08)}
.checkout-textarea::placeholder{color:#94a3b8}
.checkout-textarea-footer{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.checkout-char-count{font-size:11px;color:#94a3b8;font-weight:500}
.checkout-tip{font-size:11px;color:#64748b}

/* Info notice */
.checkout-info-notice{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;background:#fffbeb;border:1.5px solid #fde68a;border-radius:12px;margin-bottom:20px}
.checkout-info-notice svg{color:#d97706;flex-shrink:0;margin-top:1px}
.checkout-info-notice p{font-size:12px;color:#92400e;line-height:1.6;margin:0}

/* CTA button */
.checkout-cta-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 24px;background:linear-gradient(135deg,#034694,#0052a3);color:#fff;border:none;border-radius:14px;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s;letter-spacing:-.2px;position:relative;overflow:hidden}
.checkout-cta-btn::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);transition:left .5s}
.checkout-cta-btn:hover::before{left:100%}
.checkout-cta-btn:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(3,70,148,.35)}
.checkout-cta-btn:active{transform:translateY(0)}
.checkout-cta-submit{background:linear-gradient(135deg,#034694 0%,#00B6EB 100%)}

/* Payment step */
.checkout-payment-header{margin-bottom:18px}
.checkout-step-title{font-size:20px;font-weight:800;color:#0a1628;margin:0 0 4px;letter-spacing:-.4px}
.checkout-step-sub{font-size:13px;color:#64748b;margin:0}

/* Pay options - row in step 2 */
.checkout-step2-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.checkout-step2-left{display:flex;flex-direction:column;gap:12px}
.checkout-step2-right{display:flex;flex-direction:column;gap:12px}
.checkout-step2-actions{grid-column:1/-1;margin-top:4px}
.checkout-pay-options{display:flex;flex-direction:row;gap:12px;margin-bottom:0}
.checkout-pay-options > label {flex: 1;}
.checkout-pay-option{display:flex;align-items:center;gap:12px;padding:13px 14px;border:2px solid #e2e8f0;border-radius:14px;cursor:pointer;transition:all .25s;position:relative;background:#fff}
.checkout-pay-option input[type="radio"]{display:none}
.checkout-pay-option-inner{display:flex;align-items:center;gap:10px;flex:1}
.checkout-pay-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.checkout-pay-icon-blue{background:linear-gradient(135deg,#eff6ff,#dbeafe)}
.checkout-pay-icon-blue svg{color:#2563eb}
.checkout-pay-icon-green{background:linear-gradient(135deg,#f0fdf4,#dcfce7)}
.checkout-pay-icon-green svg{color:#16a34a}
.checkout-pay-title{font-size:13px;font-weight:700;color:#0a1628;margin:0 0 1px}
.checkout-pay-sub{font-size:11px;color:#64748b}
.checkout-pay-check{width:20px;height:20px;border-radius:50%;border:2px solid #e2e8f0;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .25s}
.checkout-pay-check svg{color:transparent}
.checkout-pay-option:has(input:checked){border-color:#034694;background:linear-gradient(135deg,#f0f7ff,#eff6ff);box-shadow:0 4px 20px rgba(3,70,148,.1)}
.checkout-pay-option:has(input:checked) .checkout-pay-check{background:#034694;border-color:#034694}
.checkout-pay-option:has(input:checked) .checkout-pay-check svg{color:#fff}
.checkout-pay-option:hover{border-color:#93c5fd;background:#f8fbff}

/* Bank card */
.checkout-bank-card{background:linear-gradient(135deg,#0a1628,#0f2040);border-radius:16px;padding:18px;margin-bottom:0;position:relative;overflow:hidden}
.checkout-bank-card::before{content:'';position:absolute;top:-30px;right:-30px;width:120px;height:120px;background:radial-gradient(circle,rgba(0,182,235,.2) 0%,transparent 70%);border-radius:50%}
.checkout-bank-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.1)}
.checkout-bank-item{}
.checkout-bank-label{font-size:11px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:1px;font-weight:600;display:block;margin-bottom:4px}
.checkout-bank-value{font-size:16px;font-weight:700;color:#fff;font-family:monospace;letter-spacing:.5px}
.checkout-bank-owner{display:block;margin-top:5px;font-size:11px;line-height:1.35;color:rgba(255,255,255,.68);font-weight:500}
.checkout-total-row{display:flex;justify-content:space-between;align-items:center}
.checkout-total-row span{font-size:12px;color:rgba(255,255,255,.6);font-weight:500}
.checkout-total-amount{font-size:22px;font-weight:800;background:linear-gradient(135deg,#fff,#93c5fd);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

/* Upload zone - compact */
.checkout-upload-zone{border:2px dashed #cbd5e1;border-radius:14px;padding:18px 16px;text-align:center;cursor:pointer;transition:all .25s;margin-bottom:0;background:#fafbfc}
.checkout-upload-zone:hover{border-color:#034694;background:#f0f7ff}
.checkout-upload-zone.has-file{border-color:#10b981;background:#f0fdf4;border-style:solid}
.checkout-upload-icon{width:40px;height:40px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
.checkout-upload-icon svg{color:#034694}
.checkout-upload-title{font-size:13px;font-weight:600;color:#1e293b;margin:0 0 3px}
.checkout-upload-sub{font-size:11px;color:#94a3b8}

/* Bottom buttons */
.checkout-btn-row{display:flex;gap:10px}
.checkout-back-btn{display:flex;align-items:center;gap:6px;padding:14px 18px;background:#f1f5f9;color:#475569;border:none;border-radius:14px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s;flex-shrink:0}
.checkout-back-btn:hover{background:#e2e8f0;transform:translateX(-2px)}
.checkout-cta-submit{flex:1}

/* ===== SUCCESS / CONFIRMATION SCREEN ===== */
#checkoutStep3{display:none;text-align:center;padding:10px 0}
.checkout-success-anim{width:80px;height:80px;margin:0 auto 22px;border-radius:50%;background:linear-gradient(135deg,#034694,#00B6EB);display:flex;align-items:center;justify-content:center;animation:checkoutPulse 2s ease-in-out infinite}
@keyframes checkoutPulse{0%,100%{box-shadow:0 0 0 0 rgba(3,70,148,.3)}50%{box-shadow:0 0 0 16px rgba(3,70,148,0)}}
.checkout-success-anim svg{color:#fff}
.checkout-success-title{font-size:22px;font-weight:800;color:#0a1628;margin:0 0 8px;letter-spacing:-.4px}
.checkout-success-sub{font-size:14px;color:#64748b;line-height:1.6;max-width:480px;margin:0 auto 28px}
.checkout-success-steps{display:flex;gap:14px;margin-bottom:28px;text-align:left}
.checkout-success-step{flex:1;padding:16px;border-radius:14px;border:1.5px solid #e2e8f0;background:#f8fafc;position:relative}
.checkout-success-step-num{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.checkout-success-step-title{font-size:13px;font-weight:700;color:#0a1628;margin:0 0 4px}
.checkout-success-step-desc{font-size:12px;color:#64748b;line-height:1.5;margin:0}
.checkout-success-step.locked{opacity:.6}
.checkout-success-step.locked .checkout-success-step-num{background:#94a3b8}
.checkout-drive-notice{display:flex;gap:12px;align-items:flex-start;padding:14px 18px;background:linear-gradient(135deg,#fffbeb,#fef9c3);border:1.5px solid #fde68a;border-radius:14px;margin-bottom:24px;text-align:left}
.checkout-drive-notice svg{color:#d97706;flex-shrink:0;margin-top:2px}
.checkout-drive-notice-text strong{display:block;font-size:13px;font-weight:700;color:#92400e;margin-bottom:3px}
.checkout-drive-notice-text span{font-size:12px;color:#a16207;line-height:1.5}
.checkout-success-close-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 32px;background:linear-gradient(135deg,#034694,#00B6EB);color:#fff;border:none;border-radius:14px;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s}
.checkout-success-close-btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(3,70,148,.3)}
/* Custom ID Badge */
.order-id-badge {
  background: linear-gradient(135deg, #034694, #00B6EB);
  color: white;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  box-shadow: 0 2px 8px rgba(3, 70, 148, 0.2);
  display: inline-block;
  white-space: nowrap;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Product Badge */
.product-badge {
  background: #f0f4ff;
  color: #034694;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #d0ddff;
  display: inline-block;
  white-space: nowrap;
}

@media(max-width:700px){
  .checkout-step1-grid{grid-template-columns:1fr}
  .checkout-step2-grid{grid-template-columns:1fr}
  .checkout-success-steps{flex-direction:column}
  .checkout-modal-container{width:98%;border-radius:20px}
  .checkout-step2-actions{grid-column:1}
  .checkout-step1-actions{grid-column:1}
}

/* Modal Type Selection — 2026 Premium */
.modal-type-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;width:100%;max-width:440px}
.modal-type-header{text-align:center;margin-bottom:14px}
.modal-type-pill{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid rgba(3,70,148,.1);border-radius:100px;padding:6px 16px 6px 12px;margin-bottom:16px;box-shadow:0 2px 8px rgba(3,70,148,.06)}
.modal-type-pill-dot{width:7px;height:7px;border-radius:50%;background:#06b6d4;animation:pulse-dot 2s ease-in-out infinite}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}
.modal-type-pill span{font-size:11px;font-weight:700;color:#034694;text-transform:uppercase;letter-spacing:1.5px}
.modal-type-question{font-size:28px;font-weight:800;color:#0a1628;margin-bottom:8px;line-height:1.15;letter-spacing:-.5px}
.modal-type-question em{font-style:normal;background:linear-gradient(135deg,#034694,#00B6EB);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.modal-type-sub{font-size:14px;color:#64748b;line-height:1.6;max-width:320px}
.modal-type-cards{display:flex;gap:14px;width:100%}
.modal-type-card{flex:1;background:#fff;border:1.5px solid #e8ecf2;border-radius:20px;padding:22px 20px 20px;text-align:center;cursor:pointer;transition:all .4s cubic-bezier(.22,1,.36,1);position:relative;overflow:hidden}
.modal-type-card::after{content:'';position:absolute;inset:0;border-radius:20px;background:linear-gradient(135deg,rgba(3,70,148,.03),rgba(0,182,235,.02));opacity:0;transition:opacity .4s}
.modal-type-card:hover{border-color:rgba(3,70,148,.2);transform:translateY(-6px);box-shadow:0 20px 40px rgba(3,70,148,.08),0 0 0 1px rgba(3,70,148,.05)}
.modal-type-card:hover::after{opacity:1}
.modal-type-card:active{transform:translateY(-2px);transition-duration:.15s}
.modal-type-icon{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;position:relative;z-index:1;transition:all .4s cubic-bezier(.22,1,.36,1)}
.modal-type-card:first-child .modal-type-icon{background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#034694}
.modal-type-card:last-child .modal-type-icon{background:linear-gradient(135deg,#ecfdf5,#d1fae5);color:#059669}
.modal-type-card:hover .modal-type-icon{transform:scale(1.08) rotate(-2deg)}
.modal-type-card:first-child:hover .modal-type-icon{background:linear-gradient(135deg,#034694,#0052a3);color:#fff;box-shadow:0 8px 24px rgba(3,70,148,.3)}
.modal-type-card:last-child:hover .modal-type-icon{background:linear-gradient(135deg,#059669,#10b981);color:#fff;box-shadow:0 8px 24px rgba(5,150,105,.3)}
.modal-type-label{font-size:16px;font-weight:700;color:#0a1628;margin-bottom:6px;letter-spacing:-.2px;position:relative;z-index:1}
.modal-type-desc{font-size:12.5px;color:#94a3b8;line-height:1.5;position:relative;z-index:1;font-weight:500}
.modal-type-arrow{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#f1f5f9;margin-top:16px;opacity:0;transform:translateX(-4px);transition:all .35s cubic-bezier(.22,1,.36,1);position:relative;z-index:1}
.modal-type-arrow svg{width:14px;height:14px;color:#64748b}
.modal-type-card:hover .modal-type-arrow{opacity:1;transform:translateX(0)}

/* Topbar Icons */
.topbar-icons{display:flex;align-items:center;gap:6px;margin-right:16px}
.topbar-icon-btn{position:relative;width:40px;height:40px;border-radius:12px;border:none;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}
.topbar-icon-btn:hover{background:rgba(255,255,255,.2)}
.topbar-icon-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;border-radius:9px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;display:none;align-items:center;justify-content:center;border:2px solid #034694;padding:0 4px}

/* Cart Panel */
.cart-panel{position:fixed;top:0;right:-420px;width:400px;max-width:92vw;height:100vh;background:#fff;box-shadow:-8px 0 40px rgba(0,0,0,.15);z-index:1000;transition:right .35s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column}
.cart-panel.open{right:0}
.cart-panel-header{padding:20px;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between}
.cart-panel-title{font-size:18px;font-weight:700;color:#034694}
.cart-panel-close{background:none;border:none;cursor:pointer;color:#64748b;padding:4px;border-radius:8px;transition:all .2s}
.cart-panel-close:hover{background:#f1f5f9;color:#034694}
.cart-panel-body{flex:1;overflow-y:auto;padding:16px 20px}
.cart-empty{text-align:center;color:#94a3b8;padding:40px 0;font-size:14px}
.cart-item{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #f1f5f9}
.cart-item-info{flex:1}
.cart-item-name{font-size:14px;font-weight:600;color:#1e293b}
.cart-item-opt{font-size:12px;color:#64748b;margin-top:2px}
.cart-item-right{display:flex;align-items:center;gap:10px}
.cart-item-price{font-size:14px;font-weight:700;color:#034694}
.cart-item-remove{background:none;border:none;cursor:pointer;color:#94a3b8;font-size:18px;padding:2px 6px;border-radius:6px;transition:all .2s}
.cart-item-remove:hover{background:#fef2f2;color:#ef4444}
.cart-panel-footer{padding:16px 20px;border-top:1px solid #e2e8f0;background:#f8fafc}
.cart-total-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.cart-total-label{font-size:14px;color:#64748b}
.cart-total-amount{font-size:20px;font-weight:800;color:#034694}
.cart-pay-btn{width:100%;padding:14px;background:linear-gradient(135deg,#034694,#0052a3);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s;font-family:inherit;text-transform:uppercase;letter-spacing:.5px}
.cart-pay-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(3,70,148,.35)}
.cart-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.4);z-index:999;display:none;opacity:0;transition:opacity .3s}
.cart-overlay.open{display:block;opacity:1}

/* Global Loading Overlay */
@keyframes spinLoader{to{transform:rotate(360deg)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes slideUp{from{opacity:0;transform:translateY(30px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}
.loading-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,0.3);border-top-color:#fff;border-radius:50%;animation:spinLoader .7s linear infinite}

.plan-order-badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:88px;height:28px;margin-top:7px;padding:0 5px;border-radius:8px;background:linear-gradient(135deg,#059669,#047857);color:#fff;font-family:'SF Mono','Fira Code',monospace;font-size:9px;font-weight:700;letter-spacing:.3px;line-height:1;text-align:center;white-space:nowrap;box-shadow:0 2px 8px rgba(5,120,87,.20);border:1px solid rgba(209,250,229,.72)}

.design-preview-modal{display:none;position:fixed;inset:0;z-index:10000;padding:32px;background:rgba(15,23,42,.84);backdrop-filter:blur(7px);align-items:center;justify-content:center;animation:fadeIn .18s ease-out}
.design-preview-modal.is-open{display:flex}
.design-preview-dialog{position:relative;max-width:min(88vw,760px);max-height:88vh;display:flex;align-items:center;justify-content:center}
.design-preview-dialog img{display:block;max-width:100%;max-height:88vh;object-fit:contain;border-radius:14px;box-shadow:0 24px 72px rgba(0,0,0,.45);background:#0f172a}
.design-preview-close{position:absolute;top:-18px;right:-18px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#fff;color:#334155;box-shadow:0 8px 24px rgba(0,0,0,.24);cursor:pointer;transition:transform .18s ease,background .18s ease;z-index:1}
.design-preview-close:hover{background:#f1f5f9;transform:scale(1.06)}
@media(max-width:640px){.design-preview-modal{padding:18px}.design-preview-dialog{max-width:calc(100vw - 36px);max-height:82vh}.design-preview-dialog img{max-height:82vh}.design-preview-close{top:-14px;right:-8px}}

/* Propuesta thumbnail hover */
.propuesta-thumb-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:background .2s}
.propuesta-zoom-icon{position:absolute;bottom:4px;right:4px;width:22px;height:22px;border-radius:6px;background:rgba(3,70,148,.85);display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.propuesta-thumb-overlay:hover{background:rgba(0,0,0,.25)}
.propuesta-thumb-overlay:hover .propuesta-zoom-icon{opacity:1}

/* ===== MIS PLANES CARDS ===== */
.mp-card{border-radius:16px;padding:20px;margin-bottom:16px;position:relative;overflow:hidden;text-align:left}
.mp-card-active{background:linear-gradient(135deg,#004793 0%,#00B6EB 100%);color:#fff}
.mp-card-pending{background:linear-gradient(135deg,#fffbeb,#fef3c7);border:2px solid #fde68a}
.mp-card-rejected{background:#fff;border:2px solid #fecaca}
.mp-card-deco{position:absolute;border-radius:50%;pointer-events:none}
.mp-card-deco-1{top:-30px;right:-30px;width:120px;height:120px;background:rgba(255,255,255,0.08)}
.mp-card-deco-2{bottom:-40px;left:-20px;width:100px;height:100px;background:rgba(255,255,255,0.05)}
.mp-card-pending .mp-card-deco-1{background:rgba(245,158,11,.08)}
.mp-card-inner{position:relative;z-index:1;text-align:left}
.mp-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.mp-card-info{flex:1;min-width:0;text-align:left}
.mp-card-plan-num{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;opacity:0.8;margin-bottom:4px}
.mp-card-pending .mp-card-plan-num{color:#d97706}
.mp-card-rejected .mp-card-plan-num{color:#ef4444}
.mp-card-name{font-size:18px;font-weight:800;margin:0 0 4px;line-height:1.2}
.mp-card-date{font-size:13px;opacity:0.85;margin:0}
.mp-card-pending .mp-card-date{color:#92400e}
.mp-card-rejected .mp-card-date{color:#64748b}
.mp-card-price-box{text-align:right;flex-shrink:0}
.mp-card-price{font-size:24px;font-weight:800;line-height:1}
.mp-card-period{font-size:11px;opacity:0.8;margin-top:2px}
.mp-card-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700;margin-top:6px}
.mp-card-badge-active{background:rgba(255,255,255,0.2);color:#fff;border:1px solid rgba(255,255,255,0.3)}
.mp-card-badge-pending{background:#fef3c7;color:#d97706;border:1px solid #fde68a}
.mp-card-badge-rejected{background:#fef2f2;color:#ef4444;border:1px solid #fecaca}
.mp-card-progress{margin-top:16px}
.mp-card-progress-header{display:flex;justify-content:space-between;margin-bottom:6px}
.mp-card-progress-label{font-size:12px;font-weight:600}
.mp-card-progress-remaining{font-size:12px;font-weight:700}
.mp-card-progress-bar{background:rgba(255,255,255,0.2);border-radius:20px;height:8px;overflow:hidden}
.mp-card-progress-fill{background:#fff;border-radius:20px;height:100%;transition:width 0.5s ease}
.mp-card-actions{margin-top:16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mp-card-btn{background:rgba(255,255,255,0.2);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.3);color:#fff;padding:10px 20px;border-radius:10px;font-weight:700;font-size:13px;cursor:pointer;transition:all 0.2s;font-family:inherit}
.mp-card-btn:hover{background:rgba(255,255,255,0.3);transform:translateY(-1px)}
.mp-card-designer{display:flex;align-items:center;gap:6px;font-size:12px;opacity:0.9}
.mp-card-pending-msg{font-size:12px;color:#92400e;margin:8px 0 0;line-height:1.5}
.mp-card-proof{margin-top:8px;display:flex;align-items:center;gap:4px;font-size:11px;color:#059669;font-weight:600}
@keyframes planSpin{to{transform:rotate(360deg)}}

/* ===== PLAN MODE BANNER ===== */
.pm-banner{background:linear-gradient(135deg,#059669 0%,#10b981 40%,#34d399 100%);border-radius:18px;padding:24px;margin:0 0 20px 0;color:#fff;position:relative;overflow:hidden;box-shadow:0 8px 32px rgba(5,150,105,.25)}
.pm-banner-deco{position:absolute;border-radius:50%;pointer-events:none}
.pm-banner-deco-1{top:-40px;right:-30px;width:160px;height:160px;background:rgba(255,255,255,.08)}
.pm-banner-deco-2{bottom:-50px;left:40px;width:120px;height:120px;background:rgba(255,255,255,.05)}
.pm-banner-inner{position:relative;z-index:1}
.pm-banner-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pm-banner-icon{width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.2);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.3);flex-shrink:0}
.pm-banner-text{flex:1;min-width:0}
.pm-banner-title{font-size:16px;font-weight:800;margin:0;line-height:1.3}
.pm-banner-desc{font-size:13px;opacity:.9;margin:4px 0 0;line-height:1.5}
.pm-banner-btn{background:rgba(255,255,255,.95);border:none;color:#065f46;padding:12px 20px;border-radius:12px;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.1);flex-shrink:0;font-family:inherit}
.pm-banner-btn:hover{background:#fff;transform:translateY(-1px)}
.pm-banner-progress{margin-top:16px}
.pm-banner-progress-header{display:flex;justify-content:space-between;margin-bottom:6px}
.pm-banner-progress-label{font-size:11px;font-weight:600;opacity:.9}
.pm-banner-progress-remaining{font-size:11px;font-weight:700}
.pm-banner-progress-bar{background:rgba(255,255,255,.2);border-radius:20px;height:8px;overflow:hidden}
.pm-banner-progress-fill{background:#fff;border-radius:20px;height:100%;transition:width 0.5s ease}

/* ===== MOBILE RESPONSIVE — CLIENT PORTAL ===== */

/* Hamburger button — hidden on desktop */
.mobile-hamburger{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:none;background:rgba(255,255,255,.12);border-radius:10px;color:#fff;cursor:pointer;transition:all .2s;flex-shrink:0}
.mobile-hamburger:hover{background:rgba(255,255,255,.22)}

/* Sidebar overlay */
.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:199;opacity:0;transition:opacity .3s}
.sidebar-overlay.sidebar-overlay-visible{display:block;opacity:1}

/* ── ≤768px: full mobile layout ── */
@media(max-width:768px){
  .mobile-hamburger{display:flex}

  /* Sidebar: off-canvas slide */
  .sidebar{
    width:260px!important;
    transform:translateX(-100%);
    transition:transform .3s cubic-bezier(.4,0,.2,1);
    z-index:200;
  }
  .sidebar.sidebar-open{transform:translateX(0)}
  .sidebar-logo-img{height:40px;max-width:140px}
  .nav-item span{display:inline!important}
  .nav-item{justify-content:flex-start;padding:12px 16px}
  .sidebar-logout span{display:inline!important}

  /* Main content: full width */
  .main-content{margin-left:0!important}

  /* Topbar — mobile optimized */
  .topbar{padding:12px 16px;gap:8px;flex-wrap:nowrap}
  .topbar-left{min-width:0;gap:5px;flex-shrink:1;overflow:hidden}
  .topbar-section{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}
  .topbar-page{display:none}
  .topbar-separator{display:none}
  .topbar-right{gap:6px;flex-shrink:0}
  .topbar-icons{gap:3px;margin-right:6px}
  .topbar-icon-btn{width:38px;height:38px;border-radius:10px}
  .topbar-icon-btn svg{width:19px;height:19px}
  .topbar-user{padding:4px 10px 4px 4px;gap:5px}
  .topbar-avatar{width:32px;height:32px}
  .topbar-user-info{display:none}

  /* Content area */
  .content-area{padding:12px 10px}

  /* Orders table → horizontal scroll (same look as desktop) */
  .orders-table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;position:relative;-ms-overflow-style:none;scrollbar-width:none}
  .orders-table-wrapper::-webkit-scrollbar{display:none}
  .orders-table{min-width:900px}
  .orders-table thead{display:table-header-group;position:sticky;top:0;z-index:2}
  .orders-table thead tr{background:linear-gradient(135deg,#034694 0%,#0255a8 100%)}
  .orders-table thead th{white-space:nowrap}
  .orders-table tbody tr{border-bottom:1px solid #f1f5f9;background:#fff}
  .orders-table tbody tr:hover{background:#f8fafc}
  .orders-table tbody td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
  .orders-table tbody td::before{display:none}
  .orders-table .no-orders{padding:40px 16px;font-size:13px;text-align:center}
  .orders-table .order-actions-cell{white-space:nowrap}
  /* Scroll hint */
  .orders-scroll-hint{text-align:center;font-size:11px;color:#94a3b8;padding:10px 0 2px;display:none;align-items:center;justify-content:center;gap:6px}
  .orders-scroll-hint svg{animation:scrollHintPulse 1.5s ease-in-out infinite}
  @keyframes scrollHintPulse{0%,100%{transform:translateX(0);opacity:.6}50%{transform:translateX(5px);opacity:1}}

  /* Filter pills */
  .filters-row{flex-wrap:wrap;gap:6px}
  .filter-btn{font-size:11px;padding:6px 12px;border-radius:8px}
  .filter-count{font-size:9px;min-width:16px;height:16px}

  /* Advanced filters bar — stack on mobile */
  .section-header .filter-pills{flex-wrap:wrap;gap:6px}
  .advanced-filters-bar{margin:12px 12px 0!important;border-radius:14px!important}
  .advanced-filters-grid{flex-direction:column!important;gap:0!important}
  .advanced-filters-grid>div{
    min-width:0!important;
    flex:none!important;
    border-right:none!important;
    border-bottom:1px solid #e8edf5;
    padding:12px 14px!important;
  }
  .advanced-filters-grid>div:last-child{border-bottom:none}

  /* Section headers */
  .section-header{flex-direction:column;gap:10px;align-items:flex-start}

  /* Promo banner */
  .promo-banner{height:auto;min-height:240px;border-radius:20px;margin-bottom:20px}
  .banner-slides{min-height:240px;border-radius:20px;overflow:hidden}
  .banner-slide{border-radius:20px;overflow:hidden}
  .banner-content{padding:28px 20px;display:flex;flex-direction:column;justify-content:center}
  .banner-content h2{font-size:22px;line-height:1.25;font-weight:800;margin-bottom:8px}
  .banner-content p{font-size:13px;line-height:1.5;color:rgba(255,255,255,.75);margin:0}
  .banner-tag{font-size:10px;padding:5px 14px;margin-bottom:14px;border-radius:20px}
  .banner-diagonals{display:none}

  /* Products grid */
  .products-grid{grid-template-columns:1fr}
  .products-toolbar{flex-direction:column;gap:8px}
  .search-box{min-width:auto;width:100%}
  .products-toolbar .filter-pills{width:100%}
  .products-toolbar .filter-pills select{width:100%;padding:10px 36px 10px 14px;font-size:13px}

  /* Product modal */
  .modal-container{width:96%;max-height:95vh;border-radius:20px}
  .modal-body.type-step .modal-info-section{padding:24px 16px}
  .modal-type-question{font-size:22px}
  .modal-type-sub{font-size:12px}
  .modal-type-cards{flex-direction:column;gap:10px}
  .modal-type-card{padding:20px 16px}
  .modal-img-section{width:100%;height:200px;border-right:none;border-bottom:1px solid #f1f5f9;padding:20px}
  .modal-img-frame{max-width:180px;height:160px}
  .modal-info-section{width:100%;padding:20px}
  .modal-topbar{padding:14px 16px}
  .modal-topbar-title{font-size:16px}

  /* Checkout modal */
  .checkout-modal-container{width:98%!important;max-width:98%!important;border-radius:20px!important}
  .checkout-step1-grid,.checkout-step2-grid{grid-template-columns:1fr}
  .checkout-success-steps{flex-direction:column}
  .checkout-step1-actions,.checkout-step2-actions{grid-column:1}
  .checkout-modal-body{padding:18px 16px 22px}
  .checkout-step-title{font-size:17px}
  .checkout-bank-row{grid-template-columns:1fr;gap:10px}
  .checkout-bank-value{font-size:14px}
  .checkout-total-amount{font-size:18px}
  .checkout-btn-row{flex-direction:column}
  .checkout-back-btn{justify-content:center}
  /* Plan confirmation modal — mobile */
  #planConfirmModal .modal-overlay>div:last-child{width:98%!important;max-width:98%!important}
  #planConfirmModal>div{border-radius:18px!important;max-height:92vh}
  .plan-payment-grid{grid-template-columns:1fr!important}
  #planConfirmModal [style*="padding:36px"]{padding:24px 18px 32px!important}
  #planConfirmModal [style*="padding:24px 28px"]{padding:18px 16px 22px!important}
  #planConfirmModal [style*="font-size:28px"]{font-size:22px!important}
  #planConfirmModal [style*="font-size:20px"]{font-size:17px!important}

  /* Notification panel */
  #clientNotifPanel{width:100%!important;max-width:100%!important;border-radius:0!important;height:100vh!important}
  .notif-panel-header{padding:14px 16px}
  .notif-panel-body{padding:12px 14px}
  .notif-card{padding:12px;border-radius:10px}
  .notif-card-title{font-size:13px}
  .notif-card-message{font-size:12px}
  .notif-card-actions{flex-direction:column}
  .notif-card-actions button{width:100%;justify-content:center}

  /* Cart panel */
  .cart-panel{width:100%!important;max-width:100%!important;border-radius:0!important}

  /* Plans hero */
  .plans-hero{padding:28px 16px;border-radius:16px}
  .plans-hero-title{font-size:22px}
  .plans-hero-subtitle{font-size:13px}
  .plans-hero-stats{gap:16px;flex-wrap:wrap;justify-content:center}
  .plan-stat-icon{width:36px;height:36px;border-radius:10px}
  .plan-stat-number{font-size:20px}
  .plan-stat-divider{display:none}
  .plans-hero-deco{display:none}
  /* Plans tabs */
  .plans-tabs{flex-direction:column;gap:10px}
  .plans-tab{padding:14px 16px;gap:12px;max-width:none}
  .plans-tab-icon{width:40px;height:40px;border-radius:10px}
  .plans-tab-text strong{font-size:14px}
  .plans-tab-text small{font-size:11px}
  /* Plans grid */
  .plans-grid-3,.plans-grid-2{grid-template-columns:1fr}
  .plan-card-split{flex-direction:column}
  .plan-card-pricing-detail{flex:none}

  /* Mis Planes cards — mobile */
  .mp-card{padding:16px}
  .mp-card-top{flex-direction:column;gap:12px}
  .mp-card-price-box{text-align:left}
  .mp-card-price{font-size:28px}
  .mp-card-badge{margin-top:4px}
  .mp-card-actions{flex-direction:column}
  .mp-card-btn{width:100%;text-align:center}
  .mp-card-designer{justify-content:center}

  /* Plan Mode Banner — mobile */
  .pm-banner{padding:18px 16px}
  .pm-banner-top{flex-direction:column;align-items:stretch;gap:12px}
  .pm-banner-icon{width:44px;height:44px;border-radius:12px}
  .pm-banner-text{text-align:center}
  .pm-banner-title{font-size:15px}
  .pm-banner-desc{font-size:12px}
  .pm-banner-btn{width:100%;text-align:center}

  /* Policies */
  .policies-hero{flex-direction:column;text-align:center;padding:20px 16px}
  .policy-card-body{padding-left:16px}
  .policies-footer-inner{flex-direction:column;text-align:center}
  .policies-footer-btn{margin-left:0}

  /* Support / Gemini */
  .support-hero{padding:24px 16px}
  .support-hero-title{font-size:24px}
  .support-hero-stats{flex-direction:column;gap:10px;align-items:center}
  .steps-grid{flex-direction:column;align-items:center}
  .step-connector{transform:rotate(90deg);padding:0}
  .gemini-sidebar{display:none}
  .gemini-greeting{font-size:24px}
  .gemini-suggestions{flex-direction:column;align-items:stretch}
  .gemini-suggestion-chip{justify-content:center}
  .gemini-messages{padding:16px 12px;gap:14px}
  .gemini-msg{gap:8px}
  .gemini-msg-avatar-bot{width:28px;height:28px;border-radius:8px}
  .gemini-msg-avatar-bot svg{width:14px;height:14px}
  .gemini-msg-content{max-width:85%}
  .gemini-msg-bubble{padding:10px 14px;font-size:13px;line-height:1.5}
  .gemini-msg-time{font-size:10px}
  .gemini-input-area{padding:8px 12px 12px}
  .gemini-input-inner{padding:4px 4px 4px 14px;gap:6px;border-radius:14px}
  .gemini-input-inner input{font-size:14px;padding:8px 0}
  .gemini-send-btn{width:38px;height:38px;border-radius:10px}
  .gemini-send-btn svg{width:17px;height:17px}
  .gemini-input-disclaimer{font-size:10px;margin-top:6px}
  /* Support category grid — 2 cols on mobile */
  .support-categories{grid-template-columns:repeat(2,1fr)!important;gap:10px!important;max-width:100%!important}
  .support-categories button{padding:16px 10px!important}
  /* Ticket header mobile */
  [id="geminiMessages"]>div:first-child{padding:10px 12px!important}
  [id="geminiMessages"]>div:first-child [style*="font-size:14px"]{font-size:13px!important}
  [id="geminiMessages"]>div:first-child [style*="width:36px"]{width:30px!important;height:30px!important}
  /* Attachment preview mobile */
  #supportAttachmentPreviewContainer{max-width:calc(100vw - 48px)!important}
  #supportAttachmentPreviewName{max-width:140px!important}

  /* Profile */
  .profile-card{border-radius:14px}

  /* Toast */
  #toast-container{bottom:16px;right:16px;left:16px}
  .toast-msg{min-width:0;max-width:100%;width:100%}

  /* Design preview */
  .design-preview-modal{padding:14px}
  .design-preview-dialog{max-width:calc(100vw - 28px);max-height:80vh}
  .design-preview-dialog img{max-height:80vh}
  .design-preview-close{top:-10px;right:-6px;width:36px;height:36px}

  /* Profile section */
  .profile-card-header>div:last-child{padding:0 16px 20px!important}
  .profile-header-flex{flex-direction:column;align-items:center!important;text-align:center;gap:12px!important;margin-top:-40px!important}
  .profile-header-flex>div:last-child{padding-bottom:0!important;text-align:center}
  .profile-header-flex>div:last-child>div{justify-content:center}
  .profile-header-flex>button{position:static!important;margin-top:4px}
  .profile-stats-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .profile-stats-grid>div{padding:14px!important}
  .profile-main-grid{grid-template-columns:1fr!important;gap:14px!important}
  .profile-logout-btn{margin-top:4px}

  /* Revisiones metrics */
  #revisionesMetrics{grid-template-columns:1fr!important}
  #revisionesMetrics>div{padding:14px!important}

  /* Page sections padding */
  .page-section>div:first-child{padding:16px 14px 0!important}
  .page-section [style*="padding:0 28px"]{padding:0 14px!important}
  .page-section [style*="padding:24px 28px"]{padding:16px 14px 0!important}

  /* Designs grid */
  .designs-grid{grid-template-columns:1fr!important}

  /* Approval modal (custom quote) */
  #quoteApprovalModal>div:last-child{max-width:96%!important;border-radius:18px!important}
  #quoteApprovalModal .approval-modal-body{padding:20px 16px!important}
  .approval-modal-footer{flex-direction:column;gap:8px}
  .approval-modal-footer button{width:100%}

  /* Checkout steps */
  .checkout-step-header{padding:16px}
  .checkout-step-body{padding:16px}

  /* Edit profile modal */
  #editProfileModal>div{width:96%!important;max-width:96%!important;border-radius:18px!important}
  #editProfileModal .modal-body{padding:16px!important}
  #editProfileModal [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr!important}
}

/* ── ≤480px: extra small screens ── */
@media(max-width:480px){
  .topbar{padding:6px 8px}
  .topbar-section{font-size:11px}
  .topbar-icon-btn{width:30px;height:30px;border-radius:8px}
  .topbar-icon-btn svg{width:15px;height:15px}
  .topbar-user{padding:2px 6px 2px 2px;gap:3px}
  .topbar-avatar{width:24px;height:24px}
  .filter-btn{font-size:10px;padding:5px 10px}
  .orders-table tbody td::before{display:none}
  .modal-type-question{font-size:20px}
  .modal-type-card{padding:16px 12px}
  .modal-type-icon{width:44px;height:44px;border-radius:12px}
  .modal-type-label{font-size:14px}
  .checkout-modal-container{border-radius:14px}
  .checkout-modal-body{padding:14px 12px 18px}
  .checkout-step-title{font-size:15px}
  .checkout-bank-card{padding:14px}
  .checkout-bank-value{font-size:13px}
  .checkout-total-amount{font-size:16px}
  .checkout-cta-btn{padding:13px 18px;font-size:14px}
  #planConfirmModal>div{border-radius:14px!important}
  #planConfirmModal [style*="padding:36px"]{padding:20px 14px 28px!important}
  #planConfirmModal [style*="padding:24px 28px"]{padding:16px 14px 18px!important}
  .promo-banner{border-radius:18px;min-height:220px}
  .banner-slides{min-height:220px}
  .banner-content{padding:24px 18px}
  .banner-content h2{font-size:20px}
  .banner-content p{font-size:12px}
  .products-grid{grid-template-columns:1fr}
  .product-card-img{height:180px}
  .product-card-name{font-size:14px;padding:12px 14px 4px}
  .product-card-desc{font-size:11px;padding:0 14px}
  .btn-add-product{margin:12px 14px 14px;padding:10px;font-size:13px}
  /* Support chat — 480px */
  .gemini-messages{padding:12px 8px;gap:10px}
  .gemini-msg-content{max-width:88%}
  .gemini-msg-bubble{padding:8px 12px;font-size:12px}
  .gemini-input-area{padding:6px 8px 10px}
  .gemini-input-inner{padding:3px 3px 3px 12px;gap:4px;border-radius:12px}
  .gemini-input-inner input{font-size:13px;padding:7px 0}
  .gemini-send-btn{width:34px;height:34px;border-radius:9px}
}

/* ── ≤375px: iPhone SE / small phones ── */
@media(max-width:375px){
  .content-area{padding:8px 6px}
  .topbar{padding:5px 6px}
  .topbar-section{font-size:10px}
  .mobile-hamburger{width:30px;height:30px}
  .sidebar{width:220px}
  .orders-table tbody tr{min-width:900px}
  .filter-btn{font-size:9px;padding:4px 8px}
  .modal-container{width:100%;max-height:100vh;border-radius:0}
  .promo-banner{border-radius:16px;min-height:200px}
  .banner-slides{min-height:200px}
  .banner-content{padding:20px 16px}
  .banner-content h2{font-size:18px}
  .product-card-img{height:160px}
  .product-card-name{font-size:13px;padding:10px 12px 4px}
  .product-card-desc{font-size:10px;padding:0 12px}
  .btn-add-product{margin:10px 12px 12px;padding:9px 10px;font-size:12px}
}

/* ── Landscape phones ── */
@media(max-height:500px) and (orientation:landscape){
  .sidebar{max-height:100vh;overflow-y:auto}
  .modal-container{max-height:100vh;border-radius:0}
}