.loc-tag-left img {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 18px;
}

.message-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.message-button .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.quote-cardbody-left{
    width: 70%;
}

.attached-photos-section {
    margin-bottom: 2rem;
}

.attached-photos-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.attached-photo-thumb {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.attached-photo-thumb:hover {
    border-color: #15365F;
    transform: scale(1.05);
}

.attached-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delivery-style-infocard {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 2rem;
}

.delivery-style-infocard h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.delivery-style-infocard h6 img {
    width: 18px;
    height: 18px;
}

.delivery-style-infocard p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .attached-photo-thumb {
        width: 100px;
        height: 100px;
    }
}

/* Send Quote Button Styles */
.send-quote-button {
    background-color: #FF6B35;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.send-quote-button:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
    color: white;
}

/* Send Quote Form Styles */
.send-quote-form-section {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.send-quote-form-section .form-label {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.send-quote-form-section .form-control,
.send-quote-form-section .form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.95rem;
    width: 100%;
}

.send-quote-form-section .form-control:focus,
.send-quote-form-section .form-select:focus {
    border-color: #15365F;
    box-shadow: 0 0 0 0.2rem rgba(21, 54, 95, 0.1);
    outline: none;
}

.send-quote-form-section .form-control.is-invalid,
.send-quote-form-section .form-select.is-invalid {
    border-color: #dc3545;
}

.send-quote-form-section .form-control.is-valid,
.send-quote-form-section .form-select.is-valid {
    border-color: #28a745;
}

.send-quote-submit-btn {
    background-color: #FF6B35;
    border: none;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

.send-quote-submit-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
    color: white;
}

.send-quote-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.send-quote-form-section .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-left: none;
    color: #666;
    font-weight: 500;
}

.send-quote-form-section .input-group .form-control {
    border-right: none;
}

.send-quote-form-section .input-group .form-control:focus {
    border-right: 1px solid #15365F;
}

.send-quote-form-section textarea {
    resize: vertical;
    min-height: 100px;
}

.send-quote-form-section .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.send-quote-form-section .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.send-quote-form-section .was-validated .form-control:invalid ~ .invalid-feedback,
.send-quote-form-section .was-validated .form-select:invalid ~ .invalid-feedback,
.send-quote-form-section .form-control.is-invalid ~ .invalid-feedback,
.send-quote-form-section .form-select.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Sent Quote Info Styles */
.sent-quote-info-section {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.sent-quote-info-section .alert {
    border-radius: 8px;
    border: none;
    padding: 1rem;
}

.sent-quote-info-section .alert strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sent-quote-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.sent-quote-details h6 {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.sent-quote-details .form-label {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sent-quote-value {
    color: #333;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.sent-quote-value p {
    color: #555;
    line-height: 1.6;
}

.sent-quote-value .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* Quote Footer Buttons Styles */
.quote-footer-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.quote-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: 25px;
}

.quote-card-footer .quote-footer-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.go-to-chat-btn {
    background-color: white;
    color: #15365F;
    padding: 8px 26px;
    border-radius: 8px;
    border: 1px solid #15365F;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.go-to-chat-btn:hover {
    background-color: #f8f9fa;
    border-color: #0d2440;
}

.reject-offer-btn {
    background-color: #FF6B35;
    color: white;
    padding: 8px 26px;
    border-radius: 8px;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reject-offer-btn:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.quote-card-footer p {
    color: rgba(20, 20, 20, 0.6);
    font-size: 15px;
    margin: 0;
}

/* Accept Quote Button Styles */
.btn-accept-quote {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept-quote:hover {
    background-color: #0d2440;
}

.btn-accept-quote:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Reject Quote Button Styles */
.btn-reject-quote {
    background-color: #FF6B35;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reject-quote:hover {
    background-color: #e55a2b;
}

.btn-reject-quote:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Rating Sections Styles */
.rating-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 8px;
}

.rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.rating-item:last-child {
    border-bottom: none;
}

.rating-label {
    font-size: 14px;
    font-weight: 500;
    color: #121212;
    margin: 0;
    min-width: 120px;
}

.star-rating {
    display: flex;
    gap: 4px;
    cursor: pointer;
    align-items: center;
}

.star-rating i {
    font-size: 20px;
    color: #d3d3d3;
    transition: all 0.2s ease;
    padding: 2px;
}

.star-rating i:hover,
.star-rating i.active {
    color: #FFD700;
    transform: scale(1.1);
}

.star-rating i.selected {
    color: #FFD700;
}

.ResponseProviderBox {
    margin-bottom: 0;
}

.ResponseProviderBox .form-label {
    font-size: 14px;
    font-weight: 500;
    color: #121212;
    margin-bottom: 8px;
}

.ResponseProviderBox textarea {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    resize: vertical;
}

.ResponseProviderBox textarea:focus {
    border-color: #15365F;
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 54, 95, 0.1);
}

@media (max-width: 768px) {
    .rating-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .rating-label {
        min-width: auto;
    }
}

/* Cancel Request Modal Styles */
#cancelRequestModal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#cancelRequestModal .modal-header {
    border: none;
    padding: 24px 24px 0 24px;
    position: relative;
}

#cancelRequestModal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.5;
    padding: 0.5rem;
}

#cancelRequestModal .btn-close:hover {
    opacity: 1;
}

#cancelRequestModal .modal-body {
    padding: 0 24px 24px 24px;
    text-align: center;
}

#cancelRequestModal .modal-title {
    font-weight: 700;
    font-size: 20px;
    color: #121212;
    margin-bottom: 12px;
}

#confirmCancelRequestBtn {
    background-color: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

#confirmCancelRequestBtn:hover {
    background-color: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
    color: white;
}

#confirmCancelRequestBtn:active {
    transform: translateY(0);
}


/* ============================================================
   Vehicle Request Detail Page – Card, Badges, Meta, Budget
   ============================================================ */

/* ---- Outer card wrapper (replaces the accordion) ---- */
.vr-detail-card {
    background: #fff;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 13px;
    padding: 22px 24px;
}

/* ---- Badges + action-icons row ---- */
.vr-badges-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vr-badges-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ---- "Wanted" badge ---- */
.vr-badge-wanted {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #E8F0FD;
    color: #1A56DB;
    border: 1px solid #c0d3f8;
}

/* ---- Urgency badges ---- */
.vr-badge-urgency {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.vr-badge-flexible {
    background: #E6F5EC;
    color: #1A7A3C;
    border: 1px solid #b6dfca;
}

.vr-badge-asap {
    background: #FEF0EC;
    color: #C0392B;
    border: 1px solid #f5c0b8;
}

.vr-badge-month {
    background: #EEF2FF;
    color: #3730A3;
    border: 1px solid #c7d2fe;
}

.vr-badge-norush {
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #bbf7d0;
}

/* ---- Action icon buttons ---- */
.vr-badges-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vr-action-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
    padding: 0;
}

.vr-action-btn:hover {
    background: #f5f7fa;
    border-color: #c0cadb;
}

.vr-action-btn img {
    display: block;
    pointer-events: none;
}

/* ---- Budget heading ---- */
.vr-budget-heading {
    font-size: 24px;
    font-weight: 700;
    color: #15365F;
    margin-bottom: 6px;
    line-height: 1.2;
}

/* ---- Title ---- */
.vr-title {
    font-size: 20px;
    font-weight: 600;
    color: #121212;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

/* ---- Meta row (Request # | City | time ago) ---- */
.vr-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.vr-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: rgba(20, 20, 20, 0.55);
}

.vr-meta-item img {
    opacity: 0.6;
    flex-shrink: 0;
}

.vr-meta-sep {
    color: rgba(20, 20, 20, 0.3);
    font-size: 13px;
}

@media (max-width: 576px) {
    .vr-detail-card {
        padding: 16px;
    }
    .vr-budget-heading { font-size: 20px; }
    .vr-title { font-size: 17px; }
}

/* ============================================================
   Vehicle Request – "Looking For" & "Preferences" sections
   ============================================================ */

/* ---- Section box (matches .job-summary-cover style) ---- */
.vr-section-box {
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 12px;
    padding: 18px;
    width: 100%;
}

/* ---- Section header (title row) ---- */
.vr-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color, #dee2e6);
    padding-bottom: 15px;
}

.vr-section-title {
    font-weight: 600;
    color: #1e3a5f;
    font-size: 16px;
}

/* ---- Fields grid (default: 3 columns – "Looking For") ---- */
.vr-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-bottom: 4px;
}

/* ---- 4-column variant – "Preferences" ---- */
.vr-fields-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- Individual field ---- */
.vr-field-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.vr-field-label {
    font-size: 13px;
    color: rgba(20, 20, 20, 0.6);
    margin-bottom: 4px;
}

.vr-field-value {
    font-size: 15px;
    color: #121212;
    font-weight: 600;
    word-break: break-word;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 992px) {
    .vr-fields-grid--4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vr-fields-grid,
    .vr-fields-grid--4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .vr-fields-grid,
    .vr-fields-grid--4col {
        grid-template-columns: 1fr;
    }
}
