/* ============================================================================
   CUSTOM STYLES
   ============================================================================
   Your custom CSS separate from Bootstrap. This keeps your code organized
   and makes it easy to maintain.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Typography & Base Styles
   ---------------------------------------------------------------------------- */

body, .custom-popup {
    font-family:
            -apple-system, BlinkMacSystemFont,
            "SF Pro Text", "SF Pro Display",
            "Inter", "InterVariable",
            "Segoe UI", Roboto, "Helvetica Neue",
            Arial, sans-serif !important;
}

a {
  color: #00B7FF;
}

/* ----------------------------------------------------------------------------
   Custom Card Option Component (for radio button cards)
   ---------------------------------------------------------------------------- */

.card-option {
    cursor: pointer;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-check:checked + .card-option {
    background-color: var(--bs-primary-bg-subtle);
    border-color: var(--bs-primary);
    color: var(--bs-primary-text-emphasis);
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.btn-check:focus + .card-option {
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
}

.card-option:hover {
    border-color: var(--bs-primary);
    background-color: color-mix(in srgb, var(--bs-primary-bg-subtle) 30%, white);
}

/* ----------------------------------------------------------------------------
   Form & Input Customization
   ---------------------------------------------------------------------------- */

.ts-control {
    border: none !important;
}

/* ----------------------------------------------------------------------------
   Text & Typography Utilities
   ---------------------------------------------------------------------------- */

.end-text {
    font-size: 0.9rem;
}

/* ----------------------------------------------------------------------------
   List Styling (with bullet separators)
   ---------------------------------------------------------------------------- */

.separated .list-inline-item {
  margin-right: 0 !important; /* kill Bootstrap's default spacing */
}

.separated .list-inline-item::after {
  content: "•";       /* The bullet */
  margin: 0 0.5rem;   /* Spacing around it */
  color: inherit;     /* Keep it consistent with text color */
}

.separated .list-inline-item:last-child::after {
  content: "";        /* Remove the bullet after the last item */
}

/* ----------------------------------------------------------------------------
   Results Display Components
   ---------------------------------------------------------------------------- */

.total-amount {
    font-family: 'Nunito', 'Inter', 'Arial', sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 4rem;
    margin-top: 25px;
    margin-bottom: 5px;
    line-height: 1;
}

.result-breakdown-entry {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.breakdown-item-details {
    flex-grow: 1 !important;
}

.breakdown-item-subtitle {
    color: var(--bs-secondary-color);
    font-size: 0.9rem;
}

/* ----------------------------------------------------------------------------
   Breakdown Time Inline Component
   ---------------------------------------------------------------------------- */

.breakdown-time-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;        /* space between label and button block */
}

/* Keep the heading tight for vertical alignment */
.breakdown-time-inline .h5,
.breakdown-time-inline h5 {
    margin: 0;
}

/* Push the last child (your buttons wrapper) to the right and keep buttons inline */
.breakdown-time-inline > :last-child {
    margin-left: auto;
    display: inline-flex;
    gap: 0.5rem;         /* space between buttons */
}

.password-requirements {
    margin-top: .25rem;
    font-size: 0.8rem;
}

.circle-background {
    width: 70px;  /* Adjust size as needed */
    height: 70px; /* Ensures it's a circle */
    border-radius: 50%; /* Makes it a perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    * {
        font-size: 30px;
    }
}

.translucent-red {
    background-color: rgba(255, 0, 0, 0.15);
    * {
        font-size: 30px;
        color: var(--bs-red)
    }
}

.translucent-green {
    background-color: rgba(0, 255, 0, 0.15);
    * {
        font-size: 40px;
        color: var(--bs-green)
    }
}

.translucent-blue {
    background-color: rgba(0, 0, 255, 0.15);
    * {
        font-size: 40px;
        color: var(--bs-blue);
    }
}

iconify-icon.with-text {
  display: inline-block;
  font-size: 1.1em;       /* Matches surrounding text size */
  height: 1em;          /* Matches line height of text */
  width: 1em;           /* Typo fixed: use width, not weight */
  vertical-align: -0.125em; /* Slightly lifts icon to align with FA icons */
  line-height: 1;       /* Keeps consistent centering */
}


.badge-normal {
  font-weight: 400 !important;
}

/* make image slightly bigger when hovered */
.vehicle-image {
  transition: transform 0.2s ease;
}

.vehicle-image:hover {
  transform: scale(1.05);
}

/* ----------------------------------------------------------------------------
   Tom Select Styling for GetGo Calculator
   ---------------------------------------------------------------------------- */

/* Keep dropdown option text at normal size (don't enlarge) */
#rental-vehicle-ts-dropdown .option {
  font-size: 0.875rem;
}

/* Selected item in the control - improved styling */
.ts-wrapper .ts-control .item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 0.125rem 0;
}

/* Subtitle styling in selected item */
.ts-wrapper .ts-control .item small {
  font-size: 0.8125rem;
  color: #6c757d;
  font-weight: 400;
}

/* Middle dot separator - better spacing */
.ts-wrapper .ts-control .item small::before {
  content: '';
  margin-right: 0.125rem;
}
