/* WRC Travel Planner - Widget Styles */

.wrc-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wrc-card {
  background: #fff;
  max-width: 800px;
  width: 100%;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}

.wrc-title {
  margin: 0 0 28px;
  font-size: 1.6rem;
  color: #1a1a1a;
}

.wrc-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.wrc-input {
  flex: 1;
  padding: 14px 22px;
  border-radius: 60px;
  border: 2px solid #ddd;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}

.wrc-input:focus {
  border-color: currentColor;
}

.wrc-btn {
  padding: 14px 28px;
  border-radius: 60px;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}

.wrc-btn:hover { opacity: .88; }

/* Results */

.wrc-result-title {
  margin: 0 0 20px;
  font-size: 1.15rem;
  color: #333;
}

.wrc-route-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.wrc-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.wrc-step:last-child { border-bottom: none; }

.wrc-icon { font-size: 26px; line-height: 1; }

.wrc-content { flex: 1; }

.wrc-label {
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.wrc-cta-wrap { display: flex; flex-wrap: wrap; gap: 6px; }

.wrc-cta {
  display: inline-block;
  padding: 6px 14px;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: opacity .2s;
}

.wrc-cta:hover { opacity: .85; }

.wrc-msg { color: #666; padding: 10px 0; }

/* Loader */

.wrc-loader {
  width: 36px;
  height: 36px;
  border: 4px solid #eee;
  border-top-color: #6a0631;
  border-radius: 50%;
  animation: wrc-spin 0.8s linear infinite;
  margin: 20px auto;
}

@keyframes wrc-spin { to { transform: rotate(360deg); } }

/* Responsive */

@media (max-width: 640px) {
  .wrc-card { padding: 30px 20px; }
  .wrc-form { flex-direction: column; }
  .wrc-btn  { width: 100%; }
}
