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

/* ======Log in page layout======== */
.brand-note {
  font-size: 15px !important;
  font-style: italic !important;
  line-height: 1.6;
  color: #4084e48f !important;

  margin-bottom: 22px;
}

.link-text{
  font-size: 15px !important;
}


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

.wip-note p {
  margin: 4px 0;          /* keeps them close together */
  font-style: italic !important;
  font-size: 14px;       /* smaller */
  line-height: 1.4;
  color: #6b7280d0;        /* soft gray */
}


.login-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
}

.login-info {
  background: #dfe8f082;
  padding: 1rem;
  border-radius: 10px;
}

.login-form {
  max-width: 420px;
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-form {
    max-width: 100%;
  }
}

.list-item img {
  width: 360px;
  height: 200px;
}

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


  .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: 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;              /* remove huge side padding */
  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;
  }
}
/* ---------------------------------------------------------------- */
