/*
 * 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";


  .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: inline-block;
  padding: 10px 16px;
  margin: 10px 0;
  background-color: #c5ebf3;   /* blue button */
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  border: none;
  user-select: none;
}

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

.collapsible-btn:active {
  background-color: #005bb5;
}

/* Hide the default marker/arrow */
.collapsible-btn::-webkit-details-marker {
  display: none;
}
.collapsible-btn {
  width: 100%;
  text-align: left;  /* or center */
}



.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: 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: 60px 80px 30px;
  background: #fff;
  color: #333;
  font-size: 14px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #555;
  text-decoration: none;
}

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

.social-icons a {
  margin-right: 12px;
  font-size: 20px;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #aaa;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom span {
  margin-right: 16px;
}
/* ------------------------------------------------------------------------------ */
