﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESTEK â€” Premium Ticket Panel CSS
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.dp-page *, .dp-page { font-family: 'Plus Jakarta Sans', sans-serif !important; }

/* â”€â”€ Page wrapper â”€â”€ */
.dp-page { padding: 24px 0 60px; }

/* â”€â”€ Hero bar â”€â”€ */
.dp-hero {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(79,70,229,0.08));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 20px; padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.dp-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #545873, #4f46e5, #06b6d4);
}
.dp-hero-left { display: flex; align-items: center; gap: 16px; }
.dp-hero-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg,#545873,#4f46e5);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
  flex-shrink: 0;
}
.dp-hero-title { color: #fff; font-size: 22px; font-weight: 800; margin: 0; }
.dp-hero-sub { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 2px; }
.dp-hero-user { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; }
.dp-hero-user strong { color: #757a9e; }
.dp-new-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #545873, #4f46e5);
  color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none !important; cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(124,58,237,0.4);
  white-space: nowrap;
}
.dp-new-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.55);
  color: #fff;
}

/* â”€â”€ Ticket list â”€â”€ */
.dp-ticket-list { display: flex; flex-direction: column; gap: 12px; }

.dp-ticket {
  background: linear-gradient(145deg, rgba(26,26,42,0.95), rgba(20,20,35,0.98));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 20px 24px;
  display: flex; align-items: center; gap: 18px;
  text-decoration: none !important;
  transition: all 0.25s ease; position: relative;
  overflow: hidden;
}
.dp-ticket::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #545873, #4f46e5);
  opacity: 0; transition: opacity 0.25s;
}
.dp-ticket:hover {
  border-color: rgba(124,58,237,0.3);
  background: linear-gradient(145deg, rgba(30,24,60,0.98), rgba(22,20,40,0.98));
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.dp-ticket:hover::before { opacity: 1; }

/* Ticket icon area */
.dp-ticket-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(124,58,237,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  border: 1px solid rgba(124,58,237,0.2);
}

/* Ticket content */
.dp-ticket-body { flex: 1; min-width: 0; }
.dp-ticket-title { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-ticket-preview { color: rgba(255,255,255,0.4); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Ticket meta */
.dp-ticket-meta { flex-shrink: 0; text-align: right; }
.dp-ticket-date { color: rgba(255,255,255,0.35); font-size: 11px; margin-bottom: 8px; white-space: nowrap; }
.dp-ticket-view-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: #757a9e; font-size: 12px; font-weight: 600;
  text-decoration: none !important; transition: all 0.2s;
}
.dp-ticket-view-btn:hover { background: #545873; color: #fff; border-color: #545873; }

/* â”€â”€ Status badge â”€â”€ */
.dp-status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.dp-status-open { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.dp-status-pending { background: rgba(245,158,11,0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.dp-status-closed { background: rgba(107,114,128,0.12); color: #9ca3af; border: 1px solid rgba(107,114,128,0.2); }

/* â”€â”€ Pagination â”€â”€ */
.dp-pagination { display: flex; justify-content: center; margin-top: 24px; }
.dp-pagination .pagination { gap: 6px; }

/* â”€â”€ Empty State â”€â”€ */
.dp-empty {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(145deg, rgba(26,26,42,0.9), rgba(20,20,35,0.95));
  border: 1px dashed rgba(124,58,237,0.2);
  border-radius: 20px;
}
.dp-empty-icon {
  font-size: 64px; margin-bottom: 20px;
  display: block; animation: dp-float 3s ease-in-out infinite;
}
@keyframes dp-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.dp-empty-title { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.dp-empty-sub { color: rgba(255,255,255,0.4); font-size: 14px; margin-bottom: 28px; }

/* â”€â”€ Guest / Login wall â”€â”€ */
.dp-login-wall {
  text-align: center; padding: 60px 24px;
  background: linear-gradient(145deg, rgba(26,26,42,0.9), rgba(20,20,35,0.95));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}
.dp-login-wall-icon { font-size: 52px; margin-bottom: 16px; display: block; }
.dp-login-wall-title { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.dp-login-wall-sub { color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 24px; }
.dp-btn-group { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dp-btn-outline {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(124,58,237,0.35);
  color: #757a9e; font-size: 13px; font-weight: 600;
  text-decoration: none !important; transition: all 0.2s;
}
.dp-btn-outline:hover { background: rgba(124,58,237,0.15); color: #fff; }
.dp-btn-fill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; border-radius: 10px; border: none;
  background: linear-gradient(135deg,#545873,#4f46e5);
  color: #fff; font-size: 13px; font-weight: 600;
  text-decoration: none !important; cursor: pointer;
  transition: all 0.2s; box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.dp-btn-fill:hover { box-shadow: 0 6px 24px rgba(124,58,237,0.5); color: #fff; transform: translateY(-1px); }

/* â”€â”€ Skeleton loader â”€â”€ */
.dp-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: dp-shimmer 1.5s infinite;
  border-radius: 8px; height: 16px;
}
@keyframes dp-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.dp-skeleton-card {
  background: rgba(26,26,42,0.8); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 20px 24px; display: flex; gap: 18px; align-items: center;
}
.dp-skeleton-icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; }
.dp-skeleton-body { flex: 1; }
.dp-skeleton-line { margin-bottom: 8px; }

/* â”€â”€ Scrollbar â”€â”€ */
.dp-scroll::-webkit-scrollbar { width: 4px; }
.dp-scroll::-webkit-scrollbar-track { background: transparent; }
.dp-scroll::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 4px; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 768px) {
  .dp-hero { padding: 20px; flex-direction: column; align-items: flex-start; }
  .dp-new-btn { width: 100%; justify-content: center; }
  .dp-ticket { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dp-ticket-meta { text-align: left; width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .dp-ticket-view-btn { display: flex; }
}

