.course-checkout-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(230, 201, 138, 0.35);
  background: rgba(9, 17, 24, 0.94);
  color: #eef3ee;
  text-align: left;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
}
.course-checkout-panel[hidden] { display: none; }
.cc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(230, 201, 138, 0.2);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.cc-order-no { font-weight: 700; font-size: 16px; color: #f4d28b; }
.cc-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cc-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(230, 201, 138, 0.16);
  color: #f4d28b;
  border: 1px solid rgba(230, 201, 138, 0.35);
}
.cc-badge--paid {
  background: rgba(54, 179, 126, 0.2);
  color: #79e2b3;
  border-color: rgba(54, 179, 126, 0.45);
}
.cc-badge--warn {
  background: rgba(255, 171, 0, 0.16);
  color: #ffd166;
  border-color: rgba(255, 171, 0, 0.4);
}
.cc-badge--err {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}
.cc-meta {
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.cc-banner {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(230, 201, 138, 0.35);
  background: rgba(24, 38, 48, 0.85);
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.65;
}
.cc-banner h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f6e2b4;
}
.cc-banner p { margin: 6px 0 0; color: #e2ebe5; }
.cc-banner--ok {
  border-color: rgba(54, 179, 126, 0.5);
  background: linear-gradient(145deg, rgba(16, 46, 36, 0.72), rgba(10, 24, 28, 0.9));
}
.cc-banner--warn {
  border-color: rgba(255, 189, 89, 0.45);
  background: rgba(42, 32, 16, 0.55);
}
.cc-celebration {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(244, 201, 119, 0.65);
  background: radial-gradient(circle at 85% 0%, rgba(244, 201, 119, 0.16), transparent 48%), linear-gradient(155deg, rgba(18, 36, 48, 0.96), rgba(9, 18, 25, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 232, 179, 0.3), 0 14px 36px rgba(0, 0, 0, 0.45);
  margin: 14px 0;
}
.cc-celebration--granted {
  border-color: rgba(88, 214, 157, 0.68);
  background: radial-gradient(circle at 85% 0%, rgba(88, 214, 157, 0.18), transparent 48%), linear-gradient(155deg, rgba(12, 42, 36, 0.96), rgba(8, 20, 24, 0.98));
}
.cc-celebration-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f4d28b;
  font-weight: 700;
  margin-bottom: 8px;
}
.cc-celebration h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff3d1;
}
.cc-celebration p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #edf4ef;
}
.cc-celebration p:last-child { margin-bottom: 0; }
.cc-methods {
  display: grid;
  gap: 10px;
  margin: 12px 0 16px;
}
.cc-method-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(230, 201, 138, 0.35);
  background: rgba(20, 34, 46, 0.9);
  color: #f5f7f5;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-align: left;
}
.cc-method-btn:hover { border-color: #f4c977; background: rgba(30, 48, 64, 0.95); }
.cc-method-btn[aria-pressed="true"] {
  border-color: #f4c977;
  box-shadow: 0 0 0 1px #f4c977;
}
.cc-requisites {
  padding: 14px;
  border-radius: 10px;
  background: rgba(16, 28, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.6;
}
.cc-req-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.cc-req-row:last-of-type { border-bottom: none; }
.cc-requisites code {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #fde68a;
  word-break: break-all;
}
.cc-copy-mini {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(230, 201, 138, 0.45);
  background: rgba(230, 201, 138, 0.1);
  color: #f4d28b;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.cc-copy-mini:hover { background: rgba(230, 201, 138, 0.22); }
.cc-upload {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cc-file-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cc-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px dashed rgba(244, 201, 119, 0.7);
  background: rgba(244, 201, 119, 0.12);
  color: #ffe3a8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.cc-file-label:hover { background: rgba(244, 201, 119, 0.2); }
.cc-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.cc-file-name {
  font-size: 13px;
  color: #cbd5e1;
  word-break: break-word;
}
.cc-recovery-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(12, 22, 30, 0.85);
  border: 1px solid rgba(230, 201, 138, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.cc-recovery-text {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  flex: 1 1 220px;
}
.cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cc-btn-sec {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(230, 201, 138, 0.45);
  background: transparent;
  color: #f4d28b;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}
.cc-btn-sec:hover { background: rgba(230, 201, 138, 0.1); }
.cc-note { font-size: 13px; color: #cbd5e1; margin: 6px 0 0; }
.cc-error { color: #fca5a5; font-size: 13px; margin-top: 8px; }
.cc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
