/**
 * Fast Track add-to-calendar widget on /thank-you/
 * Matches Find UK Property brand (#04478b) and Elementor thank-you layout.
 */

.fukp-calendar-add {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(4, 71, 139, 0.07);
}

.fukp-calendar-add__appointment {
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(4, 71, 139, 0.06) 0%, rgba(4, 71, 139, 0.02) 100%);
}

.fukp-calendar-add__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04478b;
}

.fukp-calendar-add__datetime {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
}

.fukp-calendar-add__time {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #04478b;
}

.fukp-calendar-add__meta,
.fukp-calendar-add__ref {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.fukp-calendar-add__ref {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
}

.fukp-calendar-add__divider {
  height: 1px;
  background: #e2e8f0;
}

.fukp-calendar-add__actions {
  padding: 1.25rem 1.5rem 1.5rem;
}

.fukp-calendar-add__label {
  margin: 0 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fukp-calendar-add__grid {
  display: grid;
  gap: 0.625rem;
}

.fukp-calendar-add__btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.fukp-calendar-add__btn:hover,
.fukp-calendar-add__btn:focus {
  border-color: #04478b;
  box-shadow: 0 4px 16px rgba(4, 71, 139, 0.1);
  transform: translateY(-1px);
  color: #1f2937;
  text-decoration: none;
}

.fukp-calendar-add__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #f8fafb;
}

.fukp-calendar-add__btn--google .fukp-calendar-add__icon {
  background: #f8faff;
}

.fukp-calendar-add__btn--outlook .fukp-calendar-add__icon {
  background: #f0f7ff;
}

.fukp-calendar-add__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.fukp-calendar-add__text strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1f2937;
}

.fukp-calendar-add__text span {
  font-size: 0.8125rem;
  color: #64748b;
}

@media (max-width: 640px) {
  .fukp-calendar-add {
    margin-bottom: 1.25rem;
  }

  .fukp-calendar-add__appointment,
  .fukp-calendar-add__actions {
    padding-left: 1.125rem;
    padding-right: 1.125rem;
  }

  .fukp-calendar-add__datetime {
    font-size: 1.2rem;
  }
}
