/* ============================================================
   CRAZYSMM PRO - New order dashboard theme
   Scoped على cno-page فقط
   ============================================================ */

.cno-page {
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 0 10px 30px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, #3b2310 0, transparent 55%),
    radial-gradient(circle at 50% 100%, #3b2310 0, transparent 55%),
    #080504;
  border-radius: 18px;
}

/* ---------- Top bar ---------- */

.cno-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #3a240f;
  border-radius: 16px;
  padding: 10px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cno-topbar-label {
  font-size: 12px;
  color: #e0cfb0;
  margin-right: 6px;
}

.cno-topbar-page {
  font-weight: 600;
  color: #ffffff;
}

.cno-badge-balance {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
}

/* ---------- Stats cards ---------- */

.cno-stats-row {
  margin-bottom: 16px;
}

.cno-stat-card {
  display: flex;
  align-items: center;
  background: #120b06;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.cno-stat-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 155, 54, 0.18), transparent 60%);
}

.cno-stat-highlight::after {
  background: radial-gradient(circle, rgba(255, 61, 140, 0.3), transparent 60%);
}

.cno-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #1e120a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: #ffb347;
  font-size: 18px;
}

.cno-stat-text {
  position: relative;
  z-index: 1;
}

.cno-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #b7a594;
}

.cno-stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* ---------- Social icons row ---------- */

.cno-social-card {
  background: #1c1207;
  border-radius: 18px;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cno-social-pill {
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  background: #2b1809;
  color: #f4e2c1;
  display: flex;
  align-items: center;
  cursor: default;
}

.cno-social-pill .cno-social-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-right: 6px;
}

/* Simple color dots for each platform */
.cno-social-icon.instagram { background: #d74d70; }
.cno-social-icon.facebook { background: #1877f2; }
.cno-social-icon.youtube { background: #ff0000; }
.cno-social-icon.tiktok { background: #ff0050; }
.cno-social-icon.spotify { background: #1db954; }
.cno-social-icon.telegram { background: #2ca5e0; }
.cno-social-icon.discord { background: #5865f2; }
.cno-social-icon.reddit { background: #ff4500; }
.cno-social-icon.twitter { background: #1da1f2; }
.cno-social-icon.twitch { background: #9146ff; }
.cno-social-icon.traffic { background: #ffb347; }

/* ---------- Main 2-column layout ---------- */

.cno-main-row {
  margin-top: 4px;
}

.cno-main-card {
  background: #3a2a0f;
  border-radius: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  margin-bottom: 18px;
}

/* Form header & tabs */
.cno-form-header {
  margin-bottom: 16px;
}

.cno-form-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 10px;
}

.cno-tab {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid transparent;
  background: #2b1b0c;
  color: #f6ddc0;
}

.cno-tab-active {
  background-image: linear-gradient(90deg, #ff3d8c, #ff9b36);
  color: #fff;
  box-shadow: 0 12px 26px rgba(255, 61, 140, 0.7);
}

.cno-tab-secondary {
  text-decoration: none;
}

.cno-form-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

/* Layout inside form: left (inputs) + right (description) */
.cno-form-layout {
  display: flex;
  gap: 18px;
}

.cno-form-left {
  flex: 1 1 60%;
}

.cno-form-right {
  flex: 1 1 40%;
}

/* Inputs */
.cno-main-card .form-control,
.cno-main-card select,
.cno-main-card textarea {
  background: #2b1e0d;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: none;
}

.cno-main-card .form-control:focus {
  border-color: #ff9b36;
  box-shadow: 0 0 0 1px rgba(255, 155, 54, 0.45);
}

/* Labels */
.cno-main-card .control-label,
.cno-main-card label {
  color: #e8d6b4;
  font-weight: 500;
}

/* Submit button */
.cno-submit-btn {
  margin-top: 6px;
  background-image: linear-gradient(90deg, #ff3d8c, #ff9b36);
  border: none;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(255, 61, 140, 0.8);
}

.cno-submit-btn:hover {
  filter: brightness(1.06);
}

/* Service card on the right side */
.cno-service-card {
  background: #2b1b0c;
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cno-service-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cno-service-body {
  font-size: 12px;
  line-height: 1.5;
  color: #f2e2c7;
}

/* Side description (right column) */
.cno-side-info {
  background: #2e1d0c;
}

.cno-side-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cno-bullet-list {
  padding-left: 18px;
  margin: 0;
}

.cno-bullet-list li {
  font-size: 13px;
  color: #f0e0c5;
  margin-bottom: 4px;
}

/* Alerts inside this page */
.cno-main-card .alert {
  border-radius: 14px;
  border: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
  .cno-form-layout {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .cno-page {
    margin-top: 10px;
    padding: 10px 5px 25px;
    border-radius: 0;
  }

  .cno-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .cno-main-card {
    padding: 14px 14px;
  }

  .cno-social-card {
    padding: 8px;
  }

  .cno-submit-btn {
    width: 100%;
  }
}
