/* ===== CUSTOMER PANEL STYLES ===== */

/* ===== LOGIN ===== */
.cust-login-wrap {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  padding: 8rem 1.5rem 3rem; position: relative; z-index: 1;
}
.cust-login-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 24px; padding: 2.5rem;
  width: 100%; max-width: 480px;
  box-shadow: 0 20px 60px rgba(255,107,0,0.15);
  backdrop-filter: blur(20px);
}
.cust-login-hero { text-align: center; margin-bottom: 2rem; }
.cust-avatar-big { display: flex; justify-content: center; margin-bottom: 1rem; }
.cust-login-hero h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.cust-login-hero p { color: var(--text2); font-size: 0.9rem; }
.cust-login-form { }
.form-row { display: flex; gap: 0.8rem; }
.uid-input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 12px; padding: 0.9rem 1.2rem;
  color: var(--text); font-family: 'Exo 2', sans-serif;
  font-size: 1rem; outline: none; transition: border-color 0.3s;
  width: 100%;
}
.uid-input:focus { border-color: var(--fire); box-shadow: 0 0 15px rgba(255,107,0,0.2); }
.uid-input::placeholder { color: var(--text2); }
.verify-btn {
  background: linear-gradient(135deg, var(--fire), var(--fire2));
  color: white; border: none; cursor: pointer;
  padding: 0.9rem 1.5rem; border-radius: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  transition: all 0.3s; white-space: nowrap;
}
.verify-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,0,0.4); }
.cust-login-hint {
  margin-top: 0.8rem; font-size: 0.8rem;
  color: var(--text2); text-align: center;
}

/* ===== DASHBOARD ===== */
.cust-dashboard { position: relative; z-index: 1; min-height: 100vh; padding-top: 70px; }

/* ===== PROFILE HEADER ===== */
.cust-profile-header {
  background: linear-gradient(135deg, rgba(255,107,0,0.1), rgba(0,212,255,0.05));
  border-bottom: 1px solid rgba(255,107,0,0.2);
  padding: 2rem 1.5rem;
}
.cust-profile-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.cust-avatar-wrap { position: relative; flex-shrink: 0; }
.cust-profile-info { flex: 1; min-width: 150px; }
.cust-uid-badge {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--fire); padding: 0.2rem 0.8rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  margin-bottom: 0.4rem;
}
.cust-profile-info h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem; font-weight: 900; margin-bottom: 0.3rem;
}
.cust-level-badge {
  display: inline-block;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold); padding: 0.2rem 0.8rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.cust-profile-stats {
  display: flex; align-items: center; gap: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 1rem 1.5rem;
}
.cust-pstat { text-align: center; }
.cust-pnum {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem; font-weight: 900; color: var(--gold);
}
.cust-plbl { font-size: 0.7rem; color: var(--text2); }
.cust-pstat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }
.cust-logout-btn {
  background: rgba(255,23,68,0.1);
  border: 1px solid rgba(255,23,68,0.3);
  color: #ff1744; cursor: pointer;
  padding: 0.6rem 1.2rem; border-radius: 10px;
  font-size: 0.8rem; font-weight: 700;
  transition: all 0.3s; margin-left: auto;
}
.cust-logout-btn:hover { background: rgba(255,23,68,0.2); }

/* ===== TABS ===== */
.cust-tabs-wrap {
  background: rgba(8,13,26,0.9);
  border-bottom: 1px solid rgba(255,107,0,0.15);
  position: sticky; top: 70px; z-index: 40;
  backdrop-filter: blur(10px);
}
.cust-tabs {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.cust-tabs::-webkit-scrollbar { display: none; }
.cust-tab {
  background: none; border: none; cursor: pointer;
  color: var(--text2); padding: 1rem 1.5rem;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.3s; white-space: nowrap;
}
.cust-tab:hover { color: var(--text); }
.cust-tab.active { color: var(--fire); border-bottom-color: var(--fire); }

/* ===== TAB CONTENT ===== */
.cust-tab-content { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }
.cust-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.15);
  border-radius: 20px; padding: 1.5rem;
}
.cust-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.5rem;
}
.cust-section-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem; color: var(--gold);
}

/* ===== ORDER FILTER ===== */
.order-filter-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.ofilter {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text2); cursor: pointer;
  padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  transition: all 0.3s;
}
.ofilter:hover { border-color: var(--fire); color: var(--fire); }
.ofilter.active { background: rgba(255,107,0,0.15); border-color: var(--fire); color: var(--fire); }

/* ===== ORDER CARDS ===== */
.order-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 1.2rem;
  margin-bottom: 1rem; transition: all 0.3s;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.order-card:hover { border-color: rgba(255,107,0,0.3); }
.order-card.completed { border-left: 3px solid var(--success); }
.order-card.pending { border-left: 3px solid var(--warning); }
.order-card.cancelled { border-left: 3px solid var(--danger); opacity: 0.7; }
.order-icon { font-size: 2rem; flex-shrink: 0; }
.order-main { flex: 1; min-width: 150px; }
.order-id { font-size: 0.75rem; color: var(--text2); margin-bottom: 0.2rem; }
.order-diamonds {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem; font-weight: 900; color: var(--gold);
  margin-bottom: 0.2rem;
}
.order-time { font-size: 0.75rem; color: var(--text2); }
.order-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem; font-weight: 900; color: var(--fire);
}
.order-status-badge {
  display: inline-block; padding: 0.3rem 0.8rem;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.no-orders { text-align: center; padding: 3rem; color: var(--text2); }

/* ===== PROFILE GRID ===== */
.profile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-bottom: 1.5rem;
}
.profile-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.15);
  border-radius: 14px; padding: 1.2rem;
  text-align: center; transition: all 0.3s;
}
.profile-card:hover { border-color: var(--fire); transform: translateY(-2px); }
.profile-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.profile-card-label { font-size: 0.75rem; color: var(--text2); margin-bottom: 0.3rem; }
.profile-card-value { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--gold); }

/* ===== VIP CARD ===== */
.vip-card {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,107,0,0.05));
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 16px; padding: 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
}
.vip-icon { font-size: 2.5rem; flex-shrink: 0; }
.vip-info { flex: 1; }
.vip-title { font-size: 0.7rem; color: var(--text2); letter-spacing: 2px; margin-bottom: 0.3rem; }
.vip-level { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 900; color: var(--gold); margin-bottom: 0.8rem; }
.vip-progress-wrap { }
.vip-progress-bar {
  height: 6px; background: rgba(255,255,255,0.1);
  border-radius: 3px; overflow: hidden; margin-bottom: 0.4rem;
}
.vip-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fire), var(--gold));
  border-radius: 3px; transition: width 1s ease;
}
.vip-progress-label { font-size: 0.75rem; color: var(--text2); }
.vip-badge-big { font-size: 3rem; flex-shrink: 0; }

/* ===== REFER ===== */
.refer-hero {
  text-align: center; padding: 2rem;
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(255,215,0,0.05));
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 16px; margin-bottom: 1.5rem;
}
.refer-icon { font-size: 3rem; margin-bottom: 0.8rem; }
.refer-hero h3 { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; color: var(--gold); margin-bottom: 0.5rem; }
.refer-hero p { color: var(--text2); font-size: 0.9rem; }
.refer-code-box {
  text-align: center; padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 16px; margin-bottom: 1.5rem;
}
.refer-label { font-size: 0.8rem; color: var(--text2); margin-bottom: 0.5rem; }
.refer-code {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem; font-weight: 900;
  color: var(--fire); letter-spacing: 3px;
}
.refer-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.refer-step {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 1rem;
}
.rs-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--fire2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif; font-weight: 900;
  font-size: 0.9rem; flex-shrink: 0;
}
.rs-text strong { display: block; margin-bottom: 0.2rem; }
.rs-text p { font-size: 0.8rem; color: var(--text2); }
.refer-stats {
  display: flex; gap: 1rem;
}
.rs-stat {
  flex: 1; text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 12px; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.rs-num2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem; font-weight: 900; color: var(--gold);
}
.rs-stat span:last-child { font-size: 0.8rem; color: var(--text2); }

/* ===== SUPPORT ===== */
.support-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.support-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 1.2rem;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none; color: var(--text);
}
.support-card:hover { border-color: var(--fire); background: rgba(255,107,0,0.05); }
.support-card.whatsapp:hover { border-color: #25d366; background: rgba(37,211,102,0.05); }
.support-icon { font-size: 2rem; flex-shrink: 0; }
.support-info { flex: 1; }
.support-title { font-weight: 700; margin-bottom: 0.2rem; }
.support-sub { font-size: 0.8rem; color: var(--text2); }
.support-arrow { font-size: 1.2rem; color: var(--text2); }

/* ===== TICKET FORM ===== */
.ticket-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 16px; padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.ticket-form h4 { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; color: var(--gold); margin-bottom: 1rem; }
.form-group-cust { margin-bottom: 1rem; }
.form-group-cust label { display: block; font-size: 0.8rem; color: var(--text2); margin-bottom: 0.4rem; }

/* ===== FAQ ===== */
.faq-section { }
.faq-section h4 { font-family: 'Orbitron', sans-serif; font-size: 0.9rem; color: var(--gold); margin-bottom: 1rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem; cursor: pointer; font-weight: 600;
  transition: background 0.3s;
}
.faq-q:hover { background: rgba(255,107,0,0.05); }
.faq-q span { color: var(--fire); font-size: 1.2rem; transition: transform 0.3s; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a {
  padding: 0 1rem; max-height: 0; overflow: hidden;
  transition: all 0.3s; color: var(--text2); font-size: 0.85rem; line-height: 1.6;
}
.faq-a.open { padding: 0 1rem 1rem; max-height: 200px; }

/* ===== TOAST ===== */
.cust-toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--dark2);
  border: 1px solid rgba(255,107,0,0.4);
  border-radius: 12px; padding: 1rem 1.5rem;
  font-weight: 600; z-index: 99999;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s; max-width: 300px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.cust-toast.show { transform: translateY(0); opacity: 1; }
.cust-toast.success { border-color: rgba(0,230,118,0.4); color: var(--success); }
.cust-toast.error { border-color: rgba(255,23,68,0.4); color: var(--danger); }
.cust-toast.info { border-color: rgba(0,212,255,0.4); color: var(--diamond); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cust-profile-inner { flex-direction: column; align-items: flex-start; }
  .cust-logout-btn { margin-left: 0; }
  .profile-grid { grid-template-columns: repeat(2, 1fr); }
  .cust-profile-stats { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 480px) {
  .profile-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .refer-stats { flex-direction: column; }
  .cust-login-box { padding: 2rem 1.2rem; }
}