/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import "custom-image.css";

/* ====== Sign in page (minimal) ====== */
.link-text {
  font-size: 15px !important;
}

.wip-note {
  margin-top: 12px;
  margin-bottom: 20px;
}

.wip-note p {
  margin: 4px 0;
  font-style: italic !important;
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280d0;
}

.sign-in-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(640px, calc(100dvh - 14rem));
  padding: 2rem 1.25rem 3rem;
  margin: 0 auto;
  max-width: 100%;
  background: #fff;
  text-align: center;
}

.sign-in-brand {
  margin: 0;
  font-size: clamp(2.75rem, 10vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #0a0a0a;
  line-height: 1.05;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sign-in-title {
  margin: 0.35rem 0 1.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #374151;
}

.sign-in-form-block {
  width: 100%;
  max-width: 320px;
  text-align: left;
}

.sign-in-form .input,
.sign-in-form .field_with_errors,
.sign-in-form .sign-in-remember {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
}

.sign-in-form label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.15rem !important;
}

.sign-in-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  background: #fff;
  margin-top: 0.15rem !important;
  margin-bottom: 0 !important;
}

.sign-in-input:focus {
  outline: none;
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.sign-in-remember label {
  font-weight: 400;
  font-size: 0.875rem;
}

.sign-in-actions {
  margin-top: 0.35rem !important;
  margin-bottom: 0 !important;
}

.sign-in-submit {
  width: 100%;
  border-radius: 9999px;
  background: #0a0a0a !important;
  color: #fff !important;
  border: none !important;
  padding: 0.65rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  cursor: pointer;
  margin: 0 !important;
}

.sign-in-form input[type="checkbox"] {
  margin: 0 0.4rem 0 0 !important;
  vertical-align: middle;
}

.sign-in-submit:hover {
  background: #262626 !important;
}

.sign-in-links {
  margin-top: 1.75rem;
  text-align: center;
  line-height: 1.9;
}

.sign-in-links a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
}

.sign-in-links a:hover {
  text-decoration: underline;
}

.sign-in-meaning {
  margin: 2.75rem auto 0;
  max-width: 320px;
  width: 100%;
  padding: 0;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: #8ec5f0;
  text-align: left;
  font-style: normal;
}

/* ======================================= */


  .day-header {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.2rem 0 0.2rem;
  }


  .day-map {
  width: 100%;
  height: 300px;  /* adjust as you like */
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}


.trip-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-delete, .btn-rebuild {
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 300;
  font-size: 0.8rem;
  transition: 0.2s ease-in-out;
}

/* Delete button */
.btn-delete {
  background-color: #ff4d4f;
  color: white;
}
.btn-delete:hover {
  background-color: #d9363e;
}

/* Rebuild button */
.btn-rebuild {
  background-color: #007bff;
  color: white;
}
.btn-rebuild:hover {
  background-color: #0063cc;
}


.extra-trip {
  display: none;
}

/* simple button styling */
.btn-view-more {
  margin-top: 10px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  background-color: #007bff;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.btn-view-more:hover {
  background-color: #0063cc;
}

.collapsible-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1.1rem;
  margin: 10px 0;
  background-color: #0a0a0a;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  user-select: none;
  list-style: none;
  text-align: left;
  transition: background-color 0.15s ease;
}

.collapsible-btn:hover {
  background-color: #262626;
}

.collapsible-btn:active {
  background-color: #1a1a1a;
}

.collapsible-btn::-webkit-details-marker {
  display: none;
}

/* Hide native disclosure + Pico extras so only our chevron shows */
details.collapsible > summary.collapsible-btn {
  list-style-type: none !important;
}

details.collapsible > summary.collapsible-btn::marker,
details.collapsible > summary.collapsible-btn::-webkit-details-marker {
  display: none;
  content: "";
}

details.collapsible > summary.collapsible-btn::before {
  content: none !important;
  display: none !important;
}

/* Single white SVG chevron: right when closed, down when open */
.collapsible-btn::after {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-left: 0.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4 1.5L8.5 6L4 10.5' stroke='%23ffffff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

details.collapsible[open] > .collapsible-btn::after {
  transform: rotate(90deg);
}

/* Pico/link styles on summary — force readable text on black bar */
details.collapsible > summary.collapsible-btn,
article details.collapsible > summary.collapsible-btn {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

/* Expanded “Tell me more?” panel — light grey (not white) */
details.collapsible > .content {
  background-color: #e8eaef;
  padding: 1.15rem 1.15rem 1.35rem;
  margin-top: 0;
  border-radius: 0 0 12px 12px;
  border: 1px solid #d5d9e0;
  border-top: none;
}

details.collapsible[open] > summary.collapsible-btn {
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}

details.collapsible > .content article {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0;
  margin: 0;
}

details.collapsible > .content hr {
  border-color: #cfd4dc;
}

/* “Anything else…” notes block — light blue */
.trip-notes-section {
  background: #e8f4fc !important;
  border: 1px solid #c5e3f5 !important;
  box-shadow: none !important;
  border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem !important;
  margin-top: 0.5rem;
}

.trip-notes-section label {
  color: #1a4a66;
}

#trip_notes_box {
  background-color: #dff2fc;
  border: 1px solid #a8d8f0;
  border-radius: 8px;
  color: #1e293b;
}

#trip_notes_box::placeholder {
  color: #5a7a8f;
  opacity: 0.9;
}

#trip_notes_box:focus {
  outline: none;
  border-color: #6bb8e6;
  box-shadow: 0 0 0 2px rgba(107, 184, 230, 0.25);
}



.place-card {
  display: flex;
  align-items: center;
  gap: 8px;
}



/* tooltip */

.plan-cell {
  position: relative;
}

.plan-brief {
  cursor: pointer;
  position: relative;
  display: inline-block;
  /* text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px; */
}

.plan-brief::after {
  content: "  ⓘ";            /* info symbol */
  font-size: 0.85em;
  opacity: 0.6;
}

.plan-full {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 400px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.plan-brief:hover .plan-full {
  display: block;
}

.plan-brief:hover::after {
  opacity: 1;
}


/* ------------------------------ pages -------------------------------*/
/* Container for carousel */
.agenda-carousel {
  position: relative;
  width: 100%;
}

/* Only one day visible at a time */
article.agenda-day {
  display: none;
}

article.agenda-day.active {
  display: block;
}

/* Arrows on left/right, centered vertically */
.agenda-arrow {
  position: absolute;
  top: 3%;
  transform: translateY(-50%);
  z-index: 50;

  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  width: 50px;
  height: 50px;
  font-size: 20px;
  font-weight: 600;
  color: #333;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
}

/* Left side */
.agenda-arrow.left {
  left: -50px;  /* move inward/outward as you like */
}

/* Right side */
.agenda-arrow.right {
  right: -50px;
}

/* Hover state */
.agenda-arrow:hover:not(:disabled) {
  background: #f9fafb;
  transform: translateY(-50%) scale(1.08);
}

/* Disabled arrows */
.agenda-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Pagination label below */
.agenda-pagination {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}


/* --------------------------------- Google review --------------------------------------- */

.place-card {
  gap: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;        /* allow it to stretch with the table column */
  max-width: 100%;
  text-align: center;
}


.place-photo {
  width: 100%;              /* full column width */
  aspect-ratio: 1 / 1;      /* ← makes it a perfect square */
  border-radius: 12px;
  overflow: hidden;         /* crop overflow so image stays inside */
}

.place-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* prevents distortion, clean crop */
  display: block;
}


.place-name {
  font-weight: 400;
  font-size: 0.9rem;
}

.place-rating {
  font-size: 0.9rem;
  color: #666666;
}


/* --------------- table column witdth --------------- */
.agenda-table {
  table-layout: auto; 
  /* table-layout: fixed;    */
  /* allows proportional control */
  /* width: 100%; */
}

.agenda-table th:nth-child(1),
.agenda-table td:nth-child(1) {
  width: 13%;   /* From-To */
}

.agenda-table th:nth-child(2),
.agenda-table td:nth-child(2) {
  width: 22%;   /* Plan */
}

.agenda-table th:nth-child(3),
.agenda-table td:nth-child(3) {
  width: 30%;   /* Location */
}

.agenda-table th:nth-child(4),
.agenda-table td:nth-child(4) {
  width: 25%;   /* Get Around */
}

.agenda-table th:nth-child(5),
.agenda-table td:nth-child(5) {
  width: 10%;   /* Get Around */
}
/* -----------------complete plan check----------------- */

tr.done td {
  background: #f3f4f6;
  opacity: 0.6;
}

/* ------------------------- footer css --------------------------- */
.site-footer {
  padding: 48px 0 24px;
  background: #fff;
  color: #333;
  font-size: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Add a centered inner container (you can apply this to the wrapper div if you have one) */
.site-footer .footer-inner,
.site-footer .footer-content,
.site-footer .footer-bottom {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;                         /* smaller + cleaner than 80px */
}

.footer-col h4 {
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111827;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #4b5563;
  text-decoration: none;
  line-height: 1.4;
}

.footer-col a:hover {
  text-decoration: underline;
}

/* Social icons row */
.social-icons a {
  margin-right: 12px;
  font-size: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  margin-right: 0;                   /* avoid weird spacing on wrap */
}

/* ===== Responsive ===== */

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Mobile: 1 column + better tap targets */
@media (max-width: 520px) {
  .site-footer {
    padding: 28px 0 18px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-col a {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ---------------------------------------------------------------- */
