.account-page {
    background: #f5f7fa;
    padding: 70px 15px;
}

.account-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(20, 48, 76, .1);
    margin: 0 auto;
    max-width: 520px;
    padding: 38px;
}

.account-card h1 {
    color: #054674;
    font-size: 30px;
    margin: 0 0 10px;
}

.account-card > p {
    color: #667085;
    margin-bottom: 26px;
}

.account-card .form-group {
    margin-bottom: 20px;
}

.account-card label,
.account-role-label {
    color: #243b53;
    font-weight: 600;
}

.account-card .form-control {
    border-radius: 3px;
    height: 44px;
}

.account-hint {
    color: #667085;
    font-size: 12px;
    font-weight: 400;
}

.account-role-label {
    border: 0;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 0;
}

.account-role-option {
    border: 1px solid #d8e0e8;
    border-radius: 3px;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    padding: 13px 14px 13px 38px;
    position: relative;
}

.account-role-option input {
    left: 14px;
    position: absolute;
    top: 17px;
}

.account-role-option span,
.account-role-option small {
    display: block;
}

.account-role-option small {
    color: #667085;
    font-weight: 400;
    margin-top: 3px;
}

.account-submit {
    border: 0;
    color: #fff;
    width: 100%;
}

.account-switch {
    margin: 22px 0 0 !important;
    text-align: center;
}

.account-switch a {
    color: #0295ff;
    font-weight: 600;
}

.profile-card {
    border: 1px solid #e6edf4;
    border-radius: 12px;
    max-width: 900px;
    padding: 38px 42px;
    text-align: left;
}

.profile-heading {
    align-items: center;
    background: linear-gradient(115deg, #f0f8ff, #fff 78%);
    border: 1px solid #e2eef9;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 23px 26px;
}

.profile-avatar {
    align-items: center;
    background: linear-gradient(145deg, #099bfa, #0568b1);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(5, 104, 177, .2);
    color: #fff;
    display: flex;
    flex: 0 0 68px;
    font-size: 28px;
    font-weight: 700;
    height: 68px;
    justify-content: center;
    margin: 0;
    width: 68px;
}

.profile-avatar svg {
    fill: none;
    height: 34px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 34px;
}

.profile-heading-copy {
    flex: 1;
    min-width: 0;
}

.profile-eyebrow {
    color: #087fcf;
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.profile-card .profile-heading h1 {
    font-size: 27px;
    line-height: 1.3;
    margin: 0 0 4px;
    overflow-wrap: anywhere;
}

.profile-intro {
    font-size: 14px;
    margin: 0 !important;
}

.profile-role-badge {
    background: #e5f3ff;
    border: 1px solid #cee7fb;
    border-radius: 20px;
    color: #07568c;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 13px;
}

.profile-section-title {
    color: #16476c;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px;
}

.profile-details {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 27px;
}

.profile-details > div {
    background: #f8fafc;
    border: 1px solid #e8eef4;
    border-radius: 8px;
    min-width: 0;
    padding: 14px 16px;
}

.profile-details dt {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .045em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.profile-details dd {
    color: #243b53;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    overflow-wrap: anywhere;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-rates-link {
    align-items: center;
    background: linear-gradient(135deg, #0798f7 0%, #0876c5 100%);
    border-radius: 7px;
    box-shadow: 0 4px 10px rgba(2, 120, 204, .14);
    color: #fff;
    display: inline-flex;
    flex: 1 1 220px;
    font-size: 14px;
    font-weight: 600;
    justify-content: space-between;
    line-height: 1.5;
    margin: 0 !important;
    max-width: 320px;
    padding: 13px 16px;
    transition: box-shadow .18s ease, transform .18s ease;
}

.profile-rates-link::after {
    content: none !important;
    display: none !important;
}

.profile-mobile-form .theme-btn {
    border: 0;
    border-radius: 7px;
    color: #fff;
    margin-bottom: 27px;
}

.profile-rates-link:hover,
.profile-rates-link:focus {
    box-shadow: 0 7px 16px rgba(2, 120, 204, .23);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.vendor-inquiries {
    margin-top: 35px;
    text-align: left;
}

.vendor-inquiries-page {
    background:
        radial-gradient(ellipse at 12% 0, rgba(2, 149, 255, .09), transparent 34%),
        #f2f6fb;
    min-height: 70vh;
    padding: 48px 20px 64px;
}

.vendor-inquiries-panel {
    background: #fff;
    border: 1px solid #e5edf5;
    border-radius: 14px;
    box-shadow: 0 18px 55px rgba(20, 48, 76, .09);
    margin: 0 auto;
    max-width: 1320px;
    padding: 34px 38px 40px;
}

.vendor-inquiries-page-heading {
    align-items: center;
    background: linear-gradient(115deg, #f4f9ff 0%, #fff 74%);
    border: 1px solid #e5effa;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 22px 24px;
}

.vendor-inquiries-page-heading h1 {
    color: #054674;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.35px;
    margin: 0 0 6px;
}

.vendor-inquiries-page-heading p {
    color: #667085;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.vendor-inquiries-heading {
    align-items: center;
    border-bottom: 1px solid #e7edf3;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.vendor-inquiries-heading h2 {
    color: #054674;
    font-size: 23px;
    margin: 0;
}

.vendor-inquiry-count {
    align-items: center;
    background: #e8f3ff;
    border: 1px solid #d9eaff;
    border-radius: 22px;
    color: #07568c;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    min-height: 38px;
    min-width: 42px;
    padding: 0 13px;
}

.vendor-inquiry-list {
    display: grid;
    gap: 16px;
}

.vendor-pagination-summary {
    color: #718096;
    font-size: 13px;
    margin: 0 0 13px;
}

.vendor-pagination-summary strong {
    color: #304a63;
}

.vendor-inquiry-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.vendor-inquiry-filters form {
    align-items: center;
    display: flex;
    flex: 1 1 320px;
    flex-wrap: wrap;
    gap: 8px;
}

.vendor-inquiry-filters .form-control {
    border: 1px solid #dce5ef;
    border-radius: 6px;
    box-shadow: none;
    height: 40px;
    max-width: 250px;
}

.vendor-inquiry-filters .vendor-inquiry-search {
    flex: 1 1 200px;
}

.vendor-filter-submit {
    background: linear-gradient(135deg, #0798f7 0%, #0876c5 100%);
    border: 0;
    border-radius: 6px;
    color: #fff;
    min-height: 40px;
    padding: 9px 16px !important;
}

.vendor-filter-submit::after {
    content: none !important;
    display: none !important;
}

.vendor-filter-clear {
    color: #526b83;
    font-size: 13px;
    font-weight: 600;
}

.vendor-inquiry-table-wrap {
    overflow-x: auto;
}

.vendor-inquiry-table {
    border-collapse: collapse;
    min-width: 930px;
    width: 100%;
}

.vendor-inquiry-table th {
    background: #f3f6f8;
    border-bottom: 1px solid #e4eaf0;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 12px 11px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.vendor-inquiry-table td {
    border-bottom: 1px solid #e9edf2;
    color: #42576d;
    font-size: 13px;
    padding: 13px 11px;
    vertical-align: middle;
}

.vendor-inquiry-table tbody tr:hover {
    background: #fbfdff;
}

.vendor-inquiry-table td strong {
    color: #263b50;
}

.vendor-inquiry-table td small {
    color: #77879a;
    display: block;
    font-size: 11px;
    margin-top: 4px;
    max-width: 170px;
    overflow-wrap: anywhere;
}

.vendor-inquiry-ref {
    color: #07568c;
    font-weight: 700;
    white-space: nowrap;
}

.vendor-inquiry-summary {
    max-width: 240px;
    overflow-wrap: anywhere;
}

.vendor-quote-not-sent {
    background: #f3f5f7;
    border: 1px solid #e6eaee;
    border-radius: 12px;
    color: #65758a;
    display: inline-block;
    font-size: 11px;
    padding: 5px 9px;
    white-space: nowrap;
}

.vendor-inquiry-row-actions {
    align-items: center;
    display: flex;
    gap: 7px;
    position: relative;
}

.vendor-inquiry-row-details {
    position: relative;
}

.vendor-inquiry-row-details > summary {
    background: #fff;
    border: 1px solid #d7e1eb;
    border-radius: 5px;
    color: #31536f;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
    padding: 8px 10px;
    white-space: nowrap;
}

.vendor-inquiry-row-details > summary::-webkit-details-marker {
    display: none;
}

.vendor-inquiry-row-details > summary:hover,
.vendor-inquiry-row-details[open] > summary {
    background: #edf7ff;
    border-color: #b9daf2;
    color: #07568c;
}

.vendor-inquiry-details-panel {
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(20, 48, 76, .18);
    margin-top: 8px;
    max-height: 65vh;
    min-width: 360px;
    overflow: auto;
    padding: 16px;
    position: absolute;
    right: 0;
    width: min(620px, 75vw);
    z-index: 20;
}

.vendor-inquiry-details-panel h3 {
    border-bottom: 1px solid #e8eef4;
    color: #054674;
    font-size: 15px;
    margin: 0 0 12px;
    padding-bottom: 10px;
}

.vendor-inquiry-details-panel dl {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.vendor-inquiry-details-panel dl > div {
    background: #f8fafc;
    border: 1px solid #edf1f5;
    border-radius: 5px;
    min-width: 0;
    padding: 8px 10px;
}

.vendor-inquiry-details-panel dt {
    color: #738195;
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.vendor-inquiry-details-panel dd {
    color: #263b50;
    font-size: 12px;
    line-height: 1.5;
    margin: 3px 0 0;
    overflow-wrap: anywhere;
}

.vendor-inquiry-details-panel .vendor-inquiry-detail-wide {
    grid-column: 1 / -1;
}

.vendor-inquiry-row-actions .vendor-send-quote {
    font-size: 12px;
    padding: 8px 10px !important;
}

.vendor-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    margin-top: 24px;
}

.vendor-page-link {
    align-items: center;
    background: #fff;
    border: 1px solid #dce5ef;
    border-radius: 6px;
    color: #31536f;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
    min-height: 38px;
    min-width: 38px;
    padding: 0 12px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.vendor-page-link:hover,
.vendor-page-link:focus {
    background: #f0f7ff;
    border-color: #a9cfee;
    color: #07568c;
    text-decoration: none;
}

.vendor-page-link.is-current {
    background: #087fcf;
    border-color: #087fcf;
    box-shadow: 0 3px 9px rgba(8, 127, 207, .2);
    color: #fff;
}

.vendor-page-link.is-disabled {
    background: #f7f9fc;
    color: #aab6c3;
    cursor: not-allowed;
    pointer-events: none;
}

.vendor-page-ellipsis {
    color: #8796a7;
    padding: 0 2px;
}

.vendor-inquiry-card {
    background: linear-gradient(140deg, #fff 0%, #fcfdff 100%);
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(20, 48, 76, .035);
    overflow: hidden;
    padding: 0 22px 20px;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.vendor-inquiry-card:hover {
    border-color: #c5ddf4;
    box-shadow: 0 10px 25px rgba(20, 76, 120, .09);
    transform: translateY(-2px);
}

.vendor-inquiry-card::before {
    background: linear-gradient(180deg, #0798f7, #07568c);
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 3px;
}

.vendor-inquiry-card > header {
    align-items: center;
    border-bottom: 1px solid #eaf0f6;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
    min-height: 76px;
    padding: 13px 0;
}

.vendor-inquiry-card h3 {
    color: #054674;
    font-size: 17px;
    line-height: 1.4;
    margin: 0;
}

.vendor-inquiry-card h2 {
    color: #073f67;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.vendor-inquiry-card h2 span {
    background: #f0f5fa;
    border-radius: 5px;
    color: #718096;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    margin-left: 4px;
    padding: 3px 7px;
}

.vendor-inquiry-card-heading {
    align-items: center !important;
}

.vendor-inquiry-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-end;
}

.vendor-send-quote {
    background: linear-gradient(135deg, #0798f7 0%, #0876c5 100%);
    border: 0;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(2, 120, 204, .18);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    padding: 10px 15px !important;
    position: relative;
    white-space: nowrap;
}

.vendor-send-quote::after {
    content: none !important;
    display: none !important;
}

.vendor-send-quote:hover,
.vendor-send-quote:focus {
    background: linear-gradient(135deg, #087fcf 0%, #055d9d 100%);
    box-shadow: 0 6px 14px rgba(2, 120, 204, .25);
    color: #fff;
}

.vendor-quote-state,
.vendor-quote-unavailable {
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    padding: 8px 11px;
}

.vendor-quote-state {
    background: #edf6ff;
    border-color: #dcecff;
    color: #07568c;
}

.vendor-quote-unavailable {
    background: #fff8e9;
    border-color: #f4e7c5;
    color: #8a620e;
}

.vendor-inquiry-details .inquiry-detail-wide {
    grid-column: 1 / -1;
}

.vendor-inquiry-card dl {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.vendor-inquiry-card dl > div {
    background: #f7f9fc;
    border: 1px solid #edf1f6;
    border-radius: 6px;
    min-width: 0;
    padding: 10px 12px;
}

.vendor-inquiry-card dt {
    color: #718096;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .035em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.vendor-inquiry-card dd {
    color: #263b50;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.vendor-inquiry-card dl > .inquiry-detail-wide {
    background: #f4f9ff;
    border-color: #e5eff9;
    grid-column: 1 / -1;
}

.vendor-inquiry-card dl > .inquiry-detail-wide dd {
    color: #42576d;
}

.vendor-inquiry-meta {
    align-items: flex-end;
    color: #78879a;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    font-size: 12px;
    gap: 6px;
}

.vendor-inquiry-status {
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
}

.vendor-inquiry-status.is-verified {
    background: #eaf8f0;
    border-color: #d4efdf;
    color: #25804a;
}

.vendor-inquiry-status.is-pending {
    background: #fff6e6;
    border-color: #f5e6c6;
    color: #91630b;
}

.vendor-quote-rejection-note {
    background: #fff4f3;
    border: 1px solid #f3d8d5;
    border-radius: 5px;
    color: #944;
    font-size: 12px;
    max-width: 300px;
    padding: 8px 10px;
}

.vendor-quote-dialog {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 20px 70px rgba(11, 39, 64, .32);
    max-height: 90vh;
    max-width: 720px;
    overflow-y: auto;
    padding: 28px;
    width: calc(100% - 28px);
}

.vendor-quote-dialog::backdrop {
    background: rgba(12, 30, 48, .62);
}

.vendor-quote-dialog-heading,
.vendor-quote-dialog-footer {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.vendor-quote-dialog-heading {
    border-bottom: 1px solid #e6edf5;
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.vendor-quote-dialog-heading p {
    color: #667085;
    font-size: 13px;
    margin: 0 0 4px;
}

.vendor-quote-dialog-heading h2 {
    color: #073f67;
    font-size: 22px;
    margin: 0;
}

.vendor-quote-close {
    background: none;
    border: 0;
    color: #667085;
    font-size: 28px;
    line-height: 1;
}

.vendor-quote-client-details {
    background: #f3f8fd;
    border: 1px solid #e4eef8;
    border-radius: 7px;
    display: grid;
    gap: 3px;
    margin-bottom: 18px;
    padding: 12px 15px;
}

.vendor-quote-client-details strong {
    color: #243b53;
}

.vendor-quote-client-details span {
    color: #667085;
    overflow-wrap: anywhere;
}

.vendor-quote-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vendor-quote-dialog .form-group {
    margin-bottom: 16px;
}

.vendor-quote-dialog label,
.vendor-quote-charges legend {
    color: #243b53;
    font-weight: 600;
}

.vendor-quote-dialog .form-control {
    height: 42px;
}

.vendor-quote-dialog .form-control:focus {
    border-color: #69b9f2;
    box-shadow: 0 0 0 3px rgba(2, 149, 255, .12);
}

.vendor-quote-dialog textarea.form-control {
    height: auto;
}

.vendor-quote-charges {
    background: #fbfcfe;
    border: 1px solid #e1e8f0;
    border-radius: 7px;
    margin: 2px 0 18px;
    padding: 12px;
}

.vendor-quote-charges legend {
    border: 0;
    font-size: 15px;
    margin: 0;
    padding: 0 5px;
    width: auto;
}

.vendor-quote-charges > p {
    color: #667085;
    font-size: 12px;
    margin: 0 0 12px;
}

.vendor-quote-charge-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 130px 85px 30px;
    margin-bottom: 8px;
}

.vendor-charge-remove {
    background: none;
    border: 0;
    color: #a33;
    font-size: 22px;
    line-height: 1;
}

.vendor-add-charge,
.vendor-quote-cancel {
    background: none;
    border: 0;
    color: #0578c7;
    font-weight: 600;
    padding: 5px 0;
}

.vendor-quote-dialog-footer {
    align-items: center;
    border-top: 1px solid #e7edf3;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
}

.vendor-quote-dialog-footer .theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0798f7 0%, #0876c5 100%);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(8, 118, 197, 0.25);
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 20px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.vendor-quote-dialog-footer .theme-btn:after {
    display: inline-block;
    position: static;
    font-size: 12px;
    transform: none;
}

.vendor-quote-dialog-footer .theme-btn:hover,
.vendor-quote-dialog-footer .theme-btn:focus {
    background: linear-gradient(135deg, #0876c5 0%, #102541 100%);
    color: #fff;
}

.vendor-quote-dialog-footer .vendor-quote-cancel {
    color: #667085;
}

.vendor-inquiry-card h3 span {
    color: #667085;
    font-size: 13px;
    font-weight: 400;
}

.vendor-inquiries-empty {
    background: #f7faff;
    border: 1px dashed #cfdeec;
    border-radius: 9px;
    color: #667b90;
    padding: 26px 18px;
    text-align: center;
}

.client-quote-groups {
    display: grid;
    gap: 26px;
}

.client-quote-group {
    background: #fff;
    border: 1px solid #e1e9f1;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(20, 48, 76, .035);
    padding: 22px;
}

.client-quote-group > h2 {
    color: #073f67;
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
}

.client-quote-route {
    color: #526579;
    margin: 0 0 14px;
}

.client-quote-route span {
    color: #0295ff;
    font-weight: 600;
    margin-left: 8px;
}

.client-inquiry-details {
    margin: 0 0 16px;
}

.client-inquiry-details > summary {
    color: #0876c5;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.client-inquiry-details > dl {
    background: #f8fafc;
    border: 1px solid #e4eaf0;
    border-radius: 7px;
    display: grid;
    gap: 8px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 12px;
}

.client-inquiry-details > dl > div {
    border-bottom: 1px solid #e8eef4;
    min-width: 0;
    padding-bottom: 7px;
}

.client-inquiry-details dt {
    color: #738195;
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.client-inquiry-details dd {
    color: #263b50;
    font-size: 12px;
    margin: 3px 0 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.client-inquiry-details .client-inquiry-detail-wide {
    grid-column: 1 / -1;
}

.client-inquiry-quote-pending {
    background: #f7f9fc;
    border: 1px solid #e6edf4;
    border-radius: 6px;
    color: #667b90;
    font-size: 13px;
    margin: 0;
    padding: 12px 14px;
}

.client-quote-list {
    display: grid;
    gap: 14px;
}

.client-quote-card {
    background: linear-gradient(140deg, #fff 0%, #fbfdff 100%);
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    padding: 20px;
}

.client-quote-card-heading {
    align-items: flex-start;
    border-bottom: 1px solid #e7edf3;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.client-quote-card-heading h3 {
    color: #073f67;
    font-size: 18px;
    margin: 0 0 7px;
}

.client-quote-meta {
    color: #667085;
    display: grid;
    font-size: 12px;
    gap: 4px;
    text-align: right;
}

.client-quote-charges {
    display: grid;
    gap: 7px;
}

.client-quote-charges > div {
    align-items: baseline;
    border-bottom: 1px dashed #e1e8f0;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding-bottom: 7px;
}

.client-quote-charges small {
    color: #667085;
}

.client-quote-charges strong {
    color: #243b53;
    flex-shrink: 0;
}

.client-quote-totals {
    background: #f1f8ff;
    border: 1px solid #e1effb;
    border-radius: 6px;
    color: #054674;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: 600;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 12px;
    padding: 11px 13px;
}

.client-quote-accept-form {
    margin-top: 14px;
    text-align: right;
}

.client-quote-accept-form .theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0798f7 0%, #0876c5 100%);
    border: 0;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(8, 118, 197, 0.25);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    padding: 12px 22px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.client-quote-accept-form .theme-btn:after {
    content: "\e64c";
    display: inline-block;
    position: static;
    font-size: 13px;
    transform: none;
}

.client-quote-accept-form .theme-btn:hover,
.client-quote-accept-form .theme-btn:focus {
    background: linear-gradient(135deg, #0876c5 0%, #102541 100%);
    box-shadow: 0 8px 20px rgba(16, 37, 65, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.client-quote-accept-form .theme-btn:focus-visible {
    outline: 2px solid #0798f7;
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .vendor-inquiries-panel {
        padding: 28px 24px 32px;
    }

    .vendor-inquiry-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-inquiry-details-panel {
        right: -80px;
        width: min(560px, 72vw);
    }
}

@media (max-width: 767px) {
    .vendor-inquiries-page {
        padding: 30px 14px 44px;
    }

    .vendor-inquiries-panel {
        border-radius: 10px;
        padding: 18px;
    }

    .vendor-inquiries-page-heading {
        padding: 17px;
    }

    .vendor-inquiries-page-heading h1 {
        font-size: 24px;
    }

    .vendor-inquiry-card {
        padding: 0 15px 15px;
    }

    .vendor-inquiry-card > header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 15px 0;
    }

    .vendor-inquiry-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .vendor-inquiry-meta {
        align-items: flex-start;
    }

    .vendor-inquiry-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vendor-inquiry-table {
        min-width: 0;
        width: 100%;
    }

    .vendor-inquiry-table,
    .vendor-inquiry-table tbody,
    .vendor-inquiry-table tbody tr,
    .vendor-inquiry-table tbody td {
        display: block;
        width: 100%;
    }

    .vendor-inquiry-table thead {
        display: none;
    }

    .vendor-inquiry-table tbody tr {
        background: #fff;
        border: 1px solid #e3eaf1;
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 7px 0;
    }

    .vendor-inquiry-table tbody tr:hover {
        background: #fff;
    }

    .vendor-inquiry-table tbody td {
        align-items: flex-start;
        border: 0;
        display: flex;
        gap: 10px;
        justify-content: space-between;
        min-width: 0;
        padding: 8px 11px;
        text-align: right;
    }

    .vendor-inquiry-table tbody td::before {
        color: #748397;
        content: attr(data-label);
        flex: 0 0 108px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .035em;
        padding-top: 2px;
        text-align: left;
        text-transform: uppercase;
    }

    .vendor-inquiry-table tbody td:last-child {
        display: block;
        text-align: left;
    }

    .vendor-inquiry-row-actions {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .vendor-inquiry-details-panel {
        left: 0;
        min-width: 0;
        position: relative;
        right: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .account-page {
        padding: 35px 12px;
    }

    .account-card {
        padding: 25px 20px;
    }

    .profile-card {
        padding: 25px 20px;
    }

    .vendor-inquiry-card {
        padding: 14px;
    }

    .vendor-inquiry-filters form {
        align-items: stretch;
        flex-basis: 100%;
    }

    .vendor-inquiry-filters .form-control {
        max-width: none;
        width: 100%;
    }

    .vendor-inquiry-filters .vendor-inquiry-search {
        flex-basis: 100%;
    }

    .vendor-inquiry-filters .vendor-filter-submit {
        width: 100%;
    }

    .vendor-inquiry-details-panel {
        left: 0;
        min-width: 0;
        position: fixed;
        right: auto;
        top: 20%;
        width: calc(100vw - 36px);
        z-index: 1050;
    }

    .vendor-inquiry-details-panel dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .vendor-inquiry-details-panel .vendor-inquiry-detail-wide {
        grid-column: auto;
    }

    .vendor-inquiries-page {
        padding: 22px 10px 34px;
    }

    .vendor-inquiries-panel {
        padding: 14px 12px 18px;
    }

    .vendor-inquiries-page-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
        padding: 15px 13px;
    }

    .vendor-inquiries-page-heading h1 {
        font-size: 21px;
    }

    .vendor-inquiries-page-heading p {
        font-size: 12px;
    }

    .vendor-inquiry-count {
        min-height: 32px;
        min-width: 35px;
        padding: 0 9px;
    }

    .vendor-inquiry-list {
        gap: 12px;
    }

    .vendor-pagination {
        gap: 5px;
        margin-top: 18px;
    }

    .vendor-page-link {
        min-height: 35px;
        min-width: 35px;
        padding: 0 9px;
    }

    .vendor-inquiry-actions {
        align-items: flex-start;
        gap: 8px;
    }

    .vendor-inquiry-card h2 {
        font-size: 16px;
    }

    .vendor-inquiry-card dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .vendor-inquiry-card dl > .inquiry-detail-wide {
        grid-column: auto;
    }

    .vendor-quote-dialog {
        border-radius: 10px;
        padding: 18px 14px;
    }

    .vendor-quote-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vendor-quote-charge-row {
        grid-template-columns: minmax(0, 1fr) 80px 72px 24px;
        gap: 6px;
    }

    .vendor-quote-dialog-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .vendor-quote-dialog-footer .theme-btn {
        width: 100%;
    }

    .client-quote-group {
        padding: 14px;
    }

    .client-quote-accept-form .theme-btn {
        justify-content: center;
        width: 100%;
    }

    .client-inquiry-details > dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .client-quote-card {
        padding: 14px;
    }

    .client-quote-card-heading {
        flex-direction: column;
    }

    .client-quote-meta {
        text-align: left;
    }

    .client-quote-charges > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .client-quote-totals {
        justify-content: flex-start;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .profile-card {
        padding: 18px 15px;
    }

    .profile-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 13px;
        margin-bottom: 23px;
        padding: 17px 15px;
    }

    .profile-avatar {
        flex-basis: 54px;
        font-size: 23px;
        height: 54px;
        width: 54px;
    }

    .profile-card .profile-heading h1 {
        font-size: 22px;
    }

    .profile-role-badge {
        margin-left: 67px;
    }

    .profile-details {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-rates-link {
        flex-basis: 100%;
        max-width: none;
    }
}
