/* ==========================================================================
   R360 AI Training — Shortcode Styles
   Scoped to .r360-ai-training — loaded only on pages using the shortcode
   ========================================================================== */

.r360-ai-training {
  --r360-black:      #0a0a0a;
  --r360-red:        #c8102e;
  --r360-red-dark:   #9e0c24;
  --r360-gold:       #d4a843;
  --r360-gold-dim:   rgba(212,168,67,0.15);
  --r360-white:      #f5f3ef;
  --r360-gray:       #1e1e1e;
  --r360-gray-mid:   #2e2e2e;
  --r360-gray-light: #888;
  --r360-border:     rgba(255,255,255,0.08);
  --r360-success:    #4ade80;
  --r360-error:      #f87171;

  color: var(--r360-white);
  background-color: var(--r360-black);
  font-family: 'DM Sans', sans-serif;
  padding-bottom: 800px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.r360-ai-training .header {
  padding: 48px 0 40px;
}

.r360-ai-training .header-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--r360-gold);
  margin-bottom: 10px;
}

.r360-ai-training .header h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0.04em;
  color: var(--r360-white);
  line-height: 1;
  margin: 0;
}

.r360-ai-training .divider {
  width: 48px;
  height: 3px;
  background: var(--r360-red);
  border-radius: 2px;
  margin: 20px auto;
}

.r360-ai-training .header-sub {
  font-size: 15px;
  color: var(--r360-gray-light);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Cards — base
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-card {
  background: var(--r360-gray);
  border: 1px solid var(--r360-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  animation: r360FadeUp 0.6s ease both;
}

/* Left-border accent per card type */
.r360-ai-training .voice-card {
  border-left: 4px solid var(--r360-red);
}

.r360-ai-training .r360-calendar-card {
  border-left: 4px solid var(--r360-gold);
}

.r360-ai-training .r360-notes-card {
  border-left: 4px solid var(--r360-gold);
}

/* --------------------------------------------------------------------------
   Section Label (icon + h2 + subtext)
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.r360-ai-training .r360-section-label h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--r360-white);
  line-height: 1;
  margin: 0;
}

.r360-ai-training .r360-section-label p {
  font-size: 13px;
  color: var(--r360-gray-light);
  margin: 3px 0 0;
  line-height: 1.4;
}

.r360-ai-training .r360-icon {
  width: 40px;
  height: 40px;
  background: var(--r360-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.r360-ai-training .r360-icon-gold {
  background: var(--r360-gold);
}

.r360-ai-training .r360-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* --------------------------------------------------------------------------
   Phone Display
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-phone-display {
  background: var(--r360-black);
  border: 1px solid var(--r360-border);
  border-radius: 12px;
  padding: 22px 28px;
  margin: 0 0 24px;
}

.r360-ai-training .r360-phone-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 0.08em;
  color: var(--r360-white);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Reset Area
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-reset-area {
  border-top: 1px solid var(--r360-border);
  padding-top: 24px;
}

.r360-ai-training .r360-reset-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r360-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.r360-ai-training .r360-reset-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--r360-gold);
  flex-shrink: 0;
}

.r360-ai-training .r360-reset-desc {
  font-size: 13px;
  color: var(--r360-gray-light);
  line-height: 1.6;
  margin: 0 0 16px;
}

.r360-ai-training .r360-reset-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.r360-ai-training .r360-input-phone {
  flex: 1 1 200px;
  min-width: 180px;
  background: var(--r360-black);
  border: 1px solid var(--r360-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--r360-white);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.r360-ai-training .r360-input-phone::placeholder {
  color: #444;
}

.r360-ai-training .r360-input-phone:focus {
  border-color: var(--r360-red);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.12);
}

.r360-ai-training .r360-btn-reset {
  background: transparent;
  border: 1px solid var(--r360-border);
  color: var(--r360-white);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.r360-ai-training .r360-btn-reset:hover,
.r360-ai-training .r360-btn-reset:focus {
  border-color: var(--r360-red);
  color: var(--r360-red);
  background: rgba(200,16,46,0.06);
}

.r360-ai-training .r360-btn-reset:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.r360-ai-training .r360-btn-reset svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Reset Status + Success Message
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-reset-status {
  margin-top: 14px;
  font-size: 13px;
  min-height: 20px;
  line-height: 1.5;
}

.r360-ai-training .r360-status-error {
  color: var(--r360-error);
}

.r360-ai-training .r360-status-success {
  color: var(--r360-success);
}

.r360-ai-training .r360-success-message {
  margin-top: 20px;
  padding: 18px 22px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.18);
  border-radius: 10px;
  font-size: 15px;
  color: var(--r360-success);
  line-height: 1.6;
}

.r360-ai-training .r360-success-message strong {
  color: #86efac;
}

/* --------------------------------------------------------------------------
   Calendar Card
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-calendar-link-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.r360-ai-training .r360-btn-calendar {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--r360-gold-dim);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--r360-gold);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.r360-ai-training .r360-btn-calendar:hover,
.r360-ai-training .r360-btn-calendar:focus {
  background: rgba(212,168,67,0.25);
  border-color: var(--r360-gold);
  color: var(--r360-gold);
  text-decoration: none;
}

.r360-ai-training .r360-calendar-note {
  font-size: 13px;
  color: var(--r360-gray-light);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Training Notes Card
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-notes-list {
  list-style: none;
  counter-reset: notes-counter;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.r360-ai-training .r360-notes-list li {
  counter-increment: notes-counter;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.r360-ai-training .r360-notes-list li::before {
  content: counter(notes-counter);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--r360-gold);
  line-height: 1;
  min-width: 24px;
  padding-top: 1px;
  flex-shrink: 0;
}

.r360-ai-training .r360-notes-list li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--r360-white);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.r360-ai-training .r360-notes-list li p {
  font-size: 13px;
  color: var(--r360-gray-light);
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Spinner
   -------------------------------------------------------------------------- */
.r360-ai-training .r360-spinning {
  animation: r360Spin 0.8s linear infinite;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes r360FadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes r360Spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  /* Stack columns naturally — notes card drops below reset card on tablet */
  .r360-ai-training .r360-notes-card {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .r360-ai-training .header {
    padding: 32px 0 28px;
  }

  .r360-ai-training .r360-card {
    padding: 24px 20px;
  }

  .r360-ai-training .r360-phone-number {
    font-size: 32px;
  }

  .r360-ai-training .r360-phone-display {
    padding: 18px 20px;
  }

  .r360-ai-training .r360-btn-reset,
  .r360-ai-training .r360-btn-calendar {
    width: 100%;
    justify-content: center;
  }

  .r360-ai-training .r360-reset-row {
    flex-direction: column;
  }

  .r360-ai-training .r360-input-phone {
    width: 100%;
  }

  .r360-ai-training .r360-btn-calendar {
    align-self: stretch;
    text-align: center;
  }
}

/* ==========================================================================
   End R360 AI Training Styles
   ========================================================================== */
