/* ===== Discord Bot Shop – Katalog & Kaufformular ===== */
.shop-bots-main { max-width: 1000px; }
.shop-back-link, .shop-back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.2s;
}
.shop-back-link:hover, .shop-back:hover { color: var(--accent); }
.shop-bots-header { margin-bottom: 40px; }
.shop-bots-lead { max-width: 560px; }
.shop-bots-section { margin-bottom: 48px; }
.shop-bots-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.shop-bots-coming-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 480px;
}
.shop-bots-footer-link {
  margin-top: 32px;
  font-size: 0.95rem;
}
.shop-bots-footer-link a { color: var(--accent); }

.shop-back {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.shop-back:hover { color: var(--accent); }

/* Bot-Katalog */
.shop-intro {
  margin-bottom: 40px;
  max-width: 560px;
}
.shop-bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.shop-bot-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.shop-bot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s;
}
.shop-bot-card:hover {
  border-color: rgba(63, 185, 80, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.shop-bot-card:hover::before { opacity: 1; }
.shop-bot-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.shop-bot-card--coming:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}
.shop-bot-card--coming:hover::before { display: none; }
.shop-bot-card--coming::before { display: none; }

/* Alias für Coming-Soon-Karten (bot-card = shop-bot-card--coming) */
.bot-card.bot-card--coming {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.bot-card.bot-card--coming:hover { transform: none; border-color: var(--border); box-shadow: none; }
.bot-card-icon.bot-card-icon--muted {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: rgba(139, 148, 158, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.bot-card-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(139, 148, 158, 0.2);
  padding: 4px 10px; border-radius: 999px;
}
.bot-card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.bot-card-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 20px; }
.bot-card-cta { margin-top: auto; }

.shop-bot-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(63, 185, 80, 0.25);
  margin-bottom: 20px;
}
.shop-bot-card--coming .shop-bot-icon {
  background: rgba(139, 148, 158, 0.15);
  border-color: var(--border);
}

.shop-bot-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(139, 148, 158, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}
.shop-bot-card:not(.shop-bot-card--coming) .shop-bot-badge {
  color: var(--accent);
  background: var(--accent-soft);
}

.shop-bot-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.shop-bot-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 20px;
}
.shop-bot-cta {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.shop-bot-card--coming .shop-bot-cta {
  color: var(--text-muted);
}

/* Alias für Coming-Soon-Karten (bot-card = shop-bot-card--coming) */
.bot-card.bot-card--coming {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.bot-card.bot-card--coming:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}
.bot-card-icon.bot-card-icon--muted {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(139, 148, 158, 0.15);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.bot-card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.bot-card-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 20px; }
.bot-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(139, 148, 158, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}
.bot-card-cta { margin-top: auto; }

/* Kaufformular */
.shop-purchase { max-width: 560px; }

/* Hosting-Config Page - Full Width */
.page-main:has(.hosting-container) {
  max-width: none !important;
  width: 100%;
}
.shop-purchase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.shop-purchase-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.shop-purchase-card .page-title { margin-bottom: 12px; }
.shop-purchase-card .page-lead { margin-bottom: 32px; }

.shop-purchase-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shop-purchase-form label {
  font-weight: 500;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}
.shop-purchase-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s;
}
.shop-purchase-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.shop-purchase-form .btn-block { width: 100%; padding: 16px; }

.shop-hosting-choice {
  border: none;
  padding: 0;
  margin: 0 0 8px 0;
}
.shop-hosting-choice legend {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--text);
}
.shop-hosting-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 10px;
}
.shop-hosting-option:last-of-type { margin-bottom: 0; }
.shop-hosting-option:hover { border-color: rgba(63, 185, 80, 0.4); }
.shop-hosting-option input { margin-top: 2px; accent-color: var(--accent); }
.shop-hosting-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shop-hosting-content strong { font-size: 0.95rem; color: var(--text); }
.shop-hosting-content small { font-size: 0.85rem; color: var(--text-muted); }
.shop-hosting-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.shop-hosted-fields {
  background: rgba(63, 185, 80, 0.08);
  border: 1px solid rgba(63, 185, 80, 0.22);
  border-radius: var(--radius);
  padding: 18px;
}

.shop-hosted-fields h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.shop-hosted-hint {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.shop-hosted-fields textarea,
.shop-hosted-fields input[type="text"] {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.2s;
}

.shop-hosted-fields textarea:focus,
.shop-hosted-fields input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
}

.shop-hosted-fields label {
  margin-top: 10px;
}

.shop-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.shop-config-field-full {
  grid-column: 1 / -1;
}

.shop-config-status {
  margin-top: 16px;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

.shop-config-status.success {
  border-color: rgba(63, 185, 80, 0.36);
  background: rgba(63, 185, 80, 0.12);
  color: #b6f0bf;
}

.shop-config-status.error {
  border-color: rgba(248, 81, 73, 0.4);
  background: rgba(248, 81, 73, 0.12);
  color: #ffb0ab;
}

.shop-form-error {
  color: #f85149;
  font-size: 0.9rem;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .shop-bots-grid { grid-template-columns: 1fr; }
  .shop-purchase-card { padding: 28px 24px; }
  .shop-config-grid { grid-template-columns: 1fr; }
}

/* ===== Hosting-Config Interface (Bot-Verwaltung) ===== */
.hosting-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hosting-header h1 {
  margin: 0;
}

.hosting-badge-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hosting-status-badge {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(48, 54, 61, 0.6);
}

.hosting-status-live {
  background: rgba(52, 168, 83, 0.15);
  border-color: rgba(52, 168, 83, 0.5);
  color: #56d364;
}

.hosting-status-deployed {
  background: rgba(79, 195, 247, 0.15);
  border-color: rgba(79, 195, 247, 0.5);
  color: #79c0ff;
}

.hosting-status-updated {
  background: rgba(200, 144, 88, 0.15);
  border-color: rgba(200, 144, 88, 0.5);
  color: #d18f4a;
}

.hosting-status-stopped,
.hosting-status-pending {
  background: rgba(110, 119, 129, 0.15);
  border-color: rgba(110, 119, 129, 0.5);
  color: #8b949e;
}

.hosting-status-failed {
  background: rgba(248, 81, 73, 0.15);
  border-color: rgba(248, 81, 73, 0.5);
  color: #f85149;
}

.hosting-version {
  padding: 0.25rem 0.75rem;
  background: rgba(48, 54, 61, 0.4);
  border-radius: 0.3rem;
  font-size: 0.85rem;
  color: #8b949e;
  border: 1px solid rgba(48, 54, 61, 0.6);
}

/* Container: Zwei-Spalten Layout */
.hosting-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.hosting-config-section,
.hosting-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cards */
.hosting-card {
  background: linear-gradient(135deg, rgba(15, 20, 27, 0.5) 0%, rgba(11, 14, 20, 0.8) 100%);
  border: 1px solid rgba(48, 54, 61, 0.6);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.hosting-card:hover {
  border-color: rgba(48, 54, 61, 0.9);
  background: linear-gradient(135deg, rgba(15, 20, 27, 0.65) 0%, rgba(11, 14, 20, 0.9) 100%);
}

.hosting-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}

.hosting-card-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.hosting-btn-refresh {
  background: none;
  border: 1px solid rgba(48, 54, 61, 0.6);
  color: var(--text-muted);
  padding: 0.5rem 0.7rem;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  line-height: 1;
}

.hosting-btn-refresh:hover {
  background: rgba(79, 195, 247, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(180deg);
}

/* Konfigurationsformular */
.hosting-config-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Sections mit Underline/Kategorien */
.hosting-config-section-group {
  padding: 0.55rem 1rem;
  background: rgba(48, 54, 61, 0.2);
  border-radius: 0.6rem;
  border-left: 3px solid rgba(79, 195, 247, 0.4);
  transition: background 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
}

.hosting-config-section-group[open] {
  padding: 1.25rem;
}

.hosting-config-section-group:first-of-type {
  border-left-color: rgba(79, 195, 247, 0.6);
}

.hosting-config-section-group:nth-of-type(2) {
  border-left-color: rgba(52, 168, 83, 0.6);
}

.hosting-config-section-group:nth-of-type(3) {
  border-left-color: rgba(200, 144, 88, 0.6);
}

.hosting-config-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #e0e6ed;
  margin-bottom: 0;
  padding: 0.35rem 0;
  border-bottom: none;
  list-style: none;
  cursor: pointer;
}

.hosting-config-section-group[open] > .hosting-config-section-title {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
}

.hosting-config-section-title::-webkit-details-marker {
  display: none;
}

.hosting-config-section-icon {
  font-size: 1.2rem;
}

.hosting-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hosting-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hosting-form-group label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #e0e6ed;
}

.hosting-form-group small {
  font-size: 0.8rem;
  color: #8b949e;
}

.hosting-input,
.hosting-textarea {
  padding: 0.75rem 1rem;
  background: rgba(11, 14, 20, 0.8);
  border: 1px solid rgba(48, 54, 61, 0.6);
  border-radius: 0.5rem;
  color: #e0e6ed;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.hosting-input-compact {
  max-width: 140px;
  min-width: 120px;
  padding: 0.35rem 2rem 0.35rem 0.6rem;
  font-size: 0.85rem;
}

.hosting-input:is(select) {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  appearance: none;
}

.hosting-input-lg {
  font-size: 1.1rem;
  padding: 0.85rem 1.1rem;
}

.hosting-monospace-input {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.hosting-input:focus,
.hosting-textarea:focus {
  outline: none;
  background: rgba(11, 14, 20, 0.95);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}

.hosting-input::placeholder,
.hosting-textarea::placeholder {
  color: rgba(224, 230, 237, 0.4);
}

.hosting-textarea {
  resize: vertical;
  font-family: monospace;
}

/* Tipbox für Hilfe */
.hosting-tip-box {
  padding: 1rem;
  background: rgba(79, 195, 247, 0.08);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-left: 3px solid rgba(79, 195, 247, 0.6);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #e0e6ed;
}

.hosting-tip-box strong {
  display: block;
  color: #79c0ff;
  margin-bottom: 0.5rem;
}

.hosting-tip-box p {
  margin: 0;
  color: #8b949e;
  line-height: 1.5;
}

/* Checkboxes */
.hosting-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hosting-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(48, 54, 61, 0.2);
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hosting-checkbox-label:hover {
  background: rgba(48, 54, 61, 0.35);
}

.hosting-checkbox {
  margin-top: 2px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.hosting-checkbox-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hosting-checkbox-text strong {
  color: #e0e6ed;
  margin: 0;
}

.hosting-checkbox-text small {
  color: #8b949e;
  margin: 0;
}

.hosting-auto-save-indicator {
  font-size: 0.8rem;
  color: #79c0ff;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hosting-status-message {
  padding: 1rem;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #79c0ff;
  text-align: center;
}

/* Bot-Status */
.hosting-status-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hosting-loading {
  text-align: center;
  color: #8b949e;
  padding: 2rem 1rem;
  font-style: italic;
}

.hosting-status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(48, 54, 61, 0.3);
  border-radius: 0.4rem;
  font-size: 0.9rem;
}

.hosting-status-label {
  color: #8b949e;
}

.hosting-status-value {
  color: #e0e6ed;
  font-weight: 500;
}

/* Bot-Kontrolle */
.hosting-control-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.hosting-btn {
  padding: 0.8rem 1rem;
  background: rgba(48, 54, 61, 0.4);
  border: 1px solid rgba(48, 54, 61, 0.7);
  border-radius: 0.5rem;
  color: #e0e6ed;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.hosting-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: rgba(48, 54, 61, 0.6);
  border-color: rgba(48, 54, 61, 0.9);
}

.hosting-btn:active:not(:disabled) {
  transform: translateY(0);
}

.hosting-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hosting-btn-start {
  border-color: rgba(52, 168, 83, 0.5);
  color: #56d364;
}

.hosting-btn-start:hover:not(:disabled) {
  background: rgba(52, 168, 83, 0.2);
  border-color: rgba(52, 168, 83, 0.8);
}

.hosting-btn-stop {
  border-color: rgba(248, 81, 73, 0.5);
  color: #f85149;
}

.hosting-btn-stop:hover:not(:disabled) {
  background: rgba(248, 81, 73, 0.2);
  border-color: rgba(248, 81, 73, 0.8);
}

.hosting-btn-restart {
  border-color: rgba(200, 144, 88, 0.5);
  color: #d18f4a;
}

.hosting-btn-restart:hover:not(:disabled) {
  background: rgba(200, 144, 88, 0.2);
  border-color: rgba(200, 144, 88, 0.8);
}

.hosting-control-message {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 0.4rem;
  font-size: 0.85rem;
  color: #79c0ff;
  text-align: center;
  min-height: 1.5rem;
}

/* Statistiken Grid */
.hosting-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hosting-stat {
  padding: 1rem;
  background: rgba(48, 54, 61, 0.3);
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid rgba(48, 54, 61, 0.5);
  transition: all 0.2s ease;
}

.hosting-stat:hover {
  background: rgba(48, 54, 61, 0.5);
  border-color: rgba(48, 54, 61, 0.8);
}

.stat-label {
  font-size: 0.8rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

/* Bestelldetails */
.hosting-order-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(48, 54, 61, 0.2);
  border-radius: 0.4rem;
}

.info-label {
  font-weight: 500;
  color: #8b949e;
  flex-shrink: 0;
}

.info-value {
  color: #e0e6ed;
  text-align: right;
  flex: 1;
  word-break: break-word;
}

.hosting-monospace {
  font-family: monospace;
  font-size: 0.85rem;
  background: rgba(11, 14, 20, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
}

.hosting-copy-btn {
  margin-left: 0.6rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(79, 195, 247, 0.4);
  background: rgba(79, 195, 247, 0.12);
  color: #79c0ff;
  border-radius: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hosting-copy-btn:hover {
  background: rgba(79, 195, 247, 0.2);
  border-color: rgba(79, 195, 247, 0.7);
}

.hosting-copy-btn:active {
  transform: translateY(1px);
}

.hosting-secret-wrap {
  display: inline-flex;
  align-items: center;
  border-radius: 0.3rem;
}

.hosting-secret-wrap:focus-visible {
  outline: 2px solid rgba(79, 195, 247, 0.6);
  outline-offset: 2px;
}

.hosting-secret.is-masked {
  filter: blur(5px);
  user-select: none;
  transition: filter 0.15s ease;
}

.hosting-secret-wrap:hover .hosting-secret.is-masked,
.hosting-secret-wrap:focus-within .hosting-secret.is-masked,
.hosting-secret-wrap.is-revealed .hosting-secret.is-masked {
  filter: none;
}

.info-row.hosting-error {
  background: rgba(248, 81, 73, 0.1);
  border-left: 3px solid rgba(248, 81, 73, 0.5);
}

.info-row.hosting-error .info-label {
  color: #f85149;
}

/* Responsive */
@media (max-width: 1200px) {
  .hosting-container {
    grid-template-columns: 1fr;
  }

  .hosting-control-buttons {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .hosting-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
  }

  .hosting-config-section {
    grid-column: 1;
  }

  .hosting-info-section {
    grid-column: 2 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    gap: 1.5rem;
  }

  .hosting-control-buttons {
    grid-template-columns: 1fr;
  }
}

/* ===== Subscription Management ===== */
.hosting-subscription-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hosting-subscription-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hosting-btn-renew {
  border-color: rgba(52, 168, 83, 0.5);
  color: #56d364;
  background: rgba(52, 168, 83, 0.08);
}

.hosting-btn-renew:hover:not(:disabled) {
  background: rgba(52, 168, 83, 0.15);
  border-color: rgba(52, 168, 83, 0.8);
  box-shadow: 0 0 8px rgba(52, 168, 83, 0.25);
}

.hosting-btn-cancel {
  border-color: rgba(200, 144, 88, 0.5);
  color: #d18f4a;
  background: rgba(200, 144, 88, 0.08);
}

.hosting-btn-cancel:hover:not(:disabled) {
  background: rgba(200, 144, 88, 0.15);
  border-color: rgba(200, 144, 88, 0.8);
  box-shadow: 0 0 8px rgba(200, 144, 88, 0.25);
}

.hosting-btn-danger {
  border-color: rgba(248, 81, 73, 0.5);
  color: #f85149;
  background: rgba(248, 81, 73, 0.08);
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.hosting-btn-danger:hover:not(:disabled) {
  background: rgba(248, 81, 73, 0.15);
  border-color: rgba(248, 81, 73, 0.8);
  box-shadow: 0 0 12px rgba(248, 81, 73, 0.3);
}

.hosting-btn-danger:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hosting-help-text {
  font-size: 0.85rem;
  color: #8b949e;
  margin: 0.5rem 0 0 0;
  line-height: 1.5;
}

.hosting-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: #e0e6ed;
  display: block;
  margin-bottom: 0.5rem;
}

.hosting-config-toggle {
  margin-left: auto;
  transition: transform 0.2s ease;
  display: inline-block;
}

details.hosting-config-section-group[open] .hosting-config-toggle {
  transform: rotate(180deg);
}

details.hosting-config-section-group summary:hover {
  cursor: pointer;
  background: rgba(48, 54, 61, 0.2);
  border-left-color: rgba(79, 195, 247, 0.7);
}

.hosting-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #56d364;
}

@media (max-width: 768px) {
  .hosting-header {
    flex-direction: column;
    gap: 1rem;
  }

  .hosting-badge-group {
    width: 100%;
  }

  .hosting-form-row {
    grid-template-columns: 1fr;
  }

  .hosting-stats-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    flex-direction: column;
    text-align: left;
  }

  .info-value {
    text-align: left;
  }

  .hosting-container {
    gap: 1.5rem;
  }

  .hosting-config-section-group {
    padding: 1rem;
  }

  .hosting-control-buttons {
    grid-template-columns: 1fr;
  }

  .hosting-input-lg {
    font-size: 1rem;
  }

  .hosting-subscription-actions {
    grid-template-columns: 1fr;
  }
}
