/* Tailwind is loaded via CDN; this file holds custom components. */

/* ========== UIverse: Modern Menu (scoped) ========== */
.uimenu {
  padding: 0.5rem;
  background-color: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 15px;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  gap: 6px;
}

.uimenu-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 62px;
  height: 46px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform-origin: center left;
  transition: width 0.2s ease-in, background-color 0.2s ease-in;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
}

.uimenu-link::before {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border-radius: 10px;
  width: 100%;
  height: 100%;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.2s ease-in;
  transform-origin: center right;
  background-color: rgba(255, 255, 255, 0.08);
}

.uimenu-link:hover,
.uimenu-link:focus {
  outline: 0;
  width: 138px;
}

.uimenu-link:hover::before,
.uimenu-link:focus::before {
  transform: translateX(0);
}

.uimenu-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  left: 18px;
  position: absolute;
  color: var(--accent-color);
}

.uimenu-icon svg {
  width: 24px;
  height: 24px;
}

.uimenu-title {
  transform: translateX(100%);
  transition: transform 0.2s ease-in, opacity 0.2s ease-in;
  transform-origin: center right;
  display: block;
  text-align: center;
  text-indent: 28px;
  width: 100%;
  opacity: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 13px;
}

.uimenu-link:hover .uimenu-title,
.uimenu-link:focus .uimenu-title {
  transform: translateX(0);
  opacity: 1;
}

.uimenu-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.uimenu-fixed-bottom {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.uimenu-fixed-top {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

.uimenu-link.is-active::before {
  transform: translateX(0);
  background-color: rgba(var(--accent-rgb), 0.18);
}

@media (max-width: 900px) {
  .uimenu-link:hover,
  .uimenu-link:focus { width: 62px; }
  .uimenu-title { display: none; }
}

/* Landing: replace legacy sidebar navigation */
.landing .menu-toggle,
.landing .sidebar { display: none !important; }
.landing .content { margin-left: 0 !important; padding-top: 76px; }

/* ========== UIverse: Custom File Upload ========== */
.custum-file-upload {
  height: 200px;
  width: min(340px, 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  background-color: rgba(33, 33, 33, 0.65);
  padding: 1.25rem;
  border-radius: 14px;
  box-shadow: 0px 48px 35px -48px rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.custum-file-upload:hover {
  border-color: rgba(var(--accent-rgb), 0.8);
  background-color: rgba(33, 33, 33, 0.8);
}

.custum-file-upload .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.custum-file-upload .icon svg {
  height: 72px;
  fill: rgba(255, 255, 255, 0.9);
}

.custum-file-upload .text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.custum-file-upload .text span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.custum-file-upload .subtext {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.custum-file-upload input {
  display: none;
}

/* ========== UIverse: Product Card (scoped) ========== */
.product-card {
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-accent: var(--accent-color);
  --card-text: rgba(255, 255, 255, 0.92);
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.45);

  width: 220px;
  height: 280px;
  background: var(--card-bg);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  display: block;
}

.product-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card__glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.25) 0%, rgba(var(--accent-rgb), 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card__content {
  padding: 1.1em;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  position: relative;
  z-index: 2;
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(var(--accent-rgb), 0.9);
  color: #000;
  padding: 0.25em 0.55em;
  border-radius: 999px;
  font-size: 0.72em;
  font-weight: 800;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.product-card__image {
  width: 100%;
  height: 175px;
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.product-card__title {
  color: var(--card-text);
  font-size: 1.05em;
  margin: 0;
  font-weight: 800;
  transition: all 0.3s ease;
}

.product-card__description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78em;
  margin: 0;
  transition: all 0.3s ease;
}

/* Feature boxes (emoji + text) */
.feat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 13px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .feat-list {
  gap: 6px;
}

.product-card .feat-item {
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-card__price {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  font-size: 1em;
  transition: all 0.3s ease;
}

.product-card__button {
  width: 30px;
  height: 30px;
  background: var(--card-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.92);
  border: 0;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.55), 0 10px 10px -5px rgba(0, 0, 0, 0.35);
  border-color: rgba(var(--accent-rgb), 0.35);
}

.product-card:hover .product-card__shine {
  opacity: 1;
  animation: product-shine 3s infinite;
}

.product-card:hover .product-card__glow { opacity: 1; }

.product-card:hover .product-card__badge {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}

.product-card:hover .product-card__image {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
}

.product-card:hover .product-card__title {
  color: var(--card-accent);
  transform: translateX(2px);
}

.product-card:hover .product-card__description {
  transform: translateX(2px);
  color: rgba(255, 255, 255, 0.9);
}

.product-card:hover .product-card__price {
  color: var(--card-accent);
  transform: translateX(2px);
}

.product-card:hover .product-card__button {
  transform: scale(1);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25);
}

.product-card:active { transform: translateY(-5px) scale(0.98); }

@keyframes product-shine {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ========== Social Icons (Order page) ========== */
/* Uiverse.io (fuad_5270 / WAIOKYERE) - scoped to ul.example-2 */
ul.example-2 {
  list-style: none;
}

ul.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 14px 0 0;
}

ul.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

ul.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 15px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

ul.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

/* Base glassmorphism anchor */
ul.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 20%;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  transition: all 0.35s ease-in-out;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(0, 0, 0, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.22);
}

/* WhatsApp glass border (replaces spotify in your design) */
ul.example-2 .icon-content[data-social="whatsapp"] a {
  border: 1px solid rgba(37, 211, 102, 0.6);
  box-shadow:
    inset 0 0 6px rgba(37, 211, 102, 0.4),
    0 0 10px rgba(37, 211, 102, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Telegram glass border */
ul.example-2 .icon-content[data-social="telegram"] a {
  border: 1px solid rgba(0, 136, 204, 0.6);
  box-shadow:
    inset 0 0 6px rgba(0, 136, 204, 0.4),
    0 0 10px rgba(0, 136, 204, 0.5),
    0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Common shine sweep effect */
ul.example-2 .icon-content a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(25deg) translateX(-100%);
  transition: transform 0.8s ease;
  z-index: 0;
}

ul.example-2 .icon-content a:hover::before {
  transform: rotate(25deg) translateX(100%);
}

ul.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 50%);
}

ul.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

ul.example-2 .icon-content a:hover {
  color: white;
}

ul.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

ul.example-2 .icon-content a:hover .filled {
  height: 100%;
}

/* Gradient animation keyframes */
@keyframes premiumGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Common fix for all icons */
ul.example-2 .icon-content a {
  text-decoration: none;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.example-2 .icon-content a .filled {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: all 0.3s ease-in-out;
  border-radius: 20%;
}

/* WhatsApp – dark premium green gradient */
ul.example-2 .icon-content a[data-social="whatsapp"] .filled,
ul.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
  background: linear-gradient(135deg, #0f3d1f, #146b35, #25d366, #0d2916);
  background-size: 400% 400%;
  animation: premiumGradient 6s ease infinite;
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(12px) saturate(200%);
  border: 1px solid rgba(37, 211, 102, 0.6);
  box-shadow:
    inset 0 0 12px rgba(37, 211, 102, 0.5),
    0 0 24px rgba(37, 211, 102, 0.7);
}

/* Telegram – dark premium blue gradient */
ul.example-2 .icon-content a[data-social="telegram"] .filled,
ul.example-2 .icon-content a[data-social="telegram"] ~ .tooltip {
  background: linear-gradient(135deg, #0a1f2d, #0f4a66, #0088cc, #0a2e44);
  background-size: 400% 400%;
  animation: premiumGradient 6s ease infinite;
  backdrop-filter: blur(12px) saturate(200%);
  -webkit-backdrop-filter: blur(12px) saturate(200%);
  border: 1px solid rgba(0, 136, 204, 0.6);
  box-shadow:
    inset 0 0 12px rgba(0, 136, 204, 0.5),
    0 0 24px rgba(0, 136, 204, 0.7);
}

/* ========== Admin: Orders Cards (Uiverse.io EmmaxPlay inspired) ========== */
.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  align-items: start;
}

.order-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.order-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.order-card__tools {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.order-card__circle {
  padding: 0 4px;
}

.order-card__box {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.order-card__box.red { background-color: #ff605c; }
.order-card__box.yellow { background-color: #ffbd44; }
.order-card__box.green { background-color: #00ca4e; }

.order-card__content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-card__title {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 13px;
  word-break: break-word;
}

.order-card__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.order-card__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.order-card__label { opacity: 0.8; }
.order-card__value { color: rgba(255, 255, 255, 0.92); text-align: right; }

.order-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.order-badge--proof {
  border-color: rgba(0, 136, 204, 0.35);
  background: rgba(0, 136, 204, 0.12);
}

.order-badge--country {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: rgba(var(--accent-rgb), 0.12);
}

.order-badge--pending { border-color: rgba(245, 158, 11, 0.35); background: rgba(245, 158, 11, 0.12); }
.order-badge--submitted { border-color: rgba(0, 136, 204, 0.35); background: rgba(0, 136, 204, 0.12); }
.order-badge--paid { border-color: rgba(0, 202, 78, 0.35); background: rgba(0, 202, 78, 0.12); }
.order-badge--delivered { border-color: rgba(124, 58, 237, 0.35); background: rgba(124, 58, 237, 0.12); }
.order-badge--canceled { border-color: rgba(255, 96, 92, 0.35); background: rgba(255, 96, 92, 0.12); }

.order-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.order-proof-thumb {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
}

.order-proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-preview {
  width: 100%;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-preview img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.proof-preview-frame {
  width: 100%;
  height: 520px;
  border: 0;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ========== Admin: Approve/Reject Icon Buttons (Uiverse.io aa_1123) ========== */
.icon-btn-container {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.icon-btn {
  font-size: 2.4rem;
  text-align: center;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  color: #ffffff;
  border: 5px solid #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
  background: transparent;
}

.icon-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.icon-btn-red {
  background-color: #f73a45;
  box-shadow: 0px 0px 5px #f73a45;
}

.icon-btn-green {
  background-color: #3eac21;
  box-shadow: 0px 0px 5px #3eac21;
}

.icon-btn-green svg,
.icon-btn-red svg {
  width: 35px;
  height: 35px;
}

.order-approve-form {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.order-approve-field {
  flex: 1 1 320px;
  margin: 0;
  min-width: 260px;
}

.order-approve-actions {
  align-items: center;
  justify-content: flex-start;
}
