html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* ===== QuoteLite table style (shared) ===== */

.customer-table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    background-color: #ffffff;
    margin-bottom: 0.75rem;
    overflow-x: auto;   /* already has other styles above */
}

table.customer-table {
    width: 100%;
    border-collapse: collapse;
}

table.customer-table thead {
    background-color: #0d6efd;
    color: #ffffff;
}

table.customer-table thead th {
    padding: 0.9rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

table.customer-table tbody td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
}

table.customer-table tbody tr:hover {
    background-color: #e9f2ff !important;
}

/* header link + arrow */
.header-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.header-link.active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header-arrow {
    font-size: 0.75rem;
}

/* action buttons */
.customers-actions {
    white-space: nowrap;
}

.btn-outline-primary:hover {
    background-color: #0d6efd !important;
    color: #ffffff !important;
    border-color: #0d6efd !important;
}

.btn-outline-success:hover {
    background-color: #198754 !important;
    color: #ffffff !important;
    border-color: #198754 !important;
}

.btn-outline-danger:hover {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
}

.btn {
    transition: all 0.18s ease-in-out;
}

/* pagination spacing */
.pagination {
    margin-top: 0.75rem;
}

/* ================================
   MOBILE — CLEAN STACKED CARD VIEW
   ================================ */
@media (max-width: 576px) {
    /* hide header row */
    table.customer-table thead {
        display: none;
    }

    table.customer-table,
    table.customer-table tbody,
    table.customer-table tr,
    table.customer-table td {
        display: block;
        width: 100%;
    }

    table.customer-table tr {
        margin-bottom: 0.75rem;
        border-bottom: 1px solid #e5e5e5;
        background-color: #fff;
    }

    table.customer-table td {
        padding: 0.45rem 1rem;
        position: relative;
        text-align: left;
        border-bottom: none;
    }

    /* label on top, value below */
    table.customer-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #6b7280;
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    /* actions row: only buttons on the right */
    td.customers-actions {
        text-align: right;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    td.customers-actions::before {
        content: "";
    }
}

