/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1f2937;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --error-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-lighter: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Main Container */
.quotation-main-container {
    min-width: 1400px;
    margin: -150px auto 100px auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.quotation-main-header {
   background: #3373cc;
    color: white;
    padding: 50px 40px;
    text-align: center;
}

.quotation-main-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.quotation-main-header p {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Content Wrapper */
.quotation-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px;
}

.quotation-form-section {
    background: white;
}

/* Progress Bar */
.quotation-progress-wrapper {
    margin-bottom: 30px;
}

.quotation-progress-bar {
    height: 6px;
    background: var(--bg-lighter);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.quotation-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.4s ease;
    width: 0%;
}

.quotation-progress-text {
    font-size: 0.9em;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Form Steps */
.quotation-form-step {
    display: none;
}

.quotation-form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quotation-step-title {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Form Fields */
.quotation-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.quotation-field-group {
    position: relative;
}

.quotation-input-field,
.quotation-select-field {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-primary);
    transition: all 0.2s ease;
    background: white;
    font-family: inherit;
}

.quotation-input-field:hover,
.quotation-select-field:hover {
    border-color: #d1d5db;
}

.quotation-input-field:focus,
.quotation-select-field:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quotation-input-field.quotation-error,
.quotation-select-field.quotation-error {
    border-color: var(--error-color);
}

.quotation-error-message {
    display: none;
    color: var(--error-color);
    font-size: 0.85em;
    margin-top: 6px;
    font-weight: 500;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.country-select-wrapper {
    position: relative;
    min-width: 100px;
}

.country-select-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.country-select-display:hover {
    border-color: #d1d5db;
}

.country-select-display.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.country-flag {
    width: 20px;
    height: 14px;
    object-fit: contain;
    border-radius: 2px;
}

.country-code {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9em;
}

.dropdown-arrow {
    font-size: 0.75em;
    color: var(--text-secondary);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.country-select-display.active .dropdown-arrow {
    transform: rotate(180deg);
}

.country-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-height: 300px;
    min-width: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.country-options.show {
    display: block;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.country-option:hover {
    background: var(--bg-light);
}

.country-option.selected {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
}

.country-option-text {
    color: var(--text-primary);
    font-size: 0.9em;
}

.phone-number-input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.2s ease;
}

.phone-number-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Shipment Type Radio */
.shipment-type-section {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.shipment-type-label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.shipment-type-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 200px;
}

.radio-option:hover {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: inset 0 0 0 3px white;
}

.radio-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95em;
}

/* Service and Cargo Cards */
.quotation-service-grid,
.quotation-cargo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.quotation-service-card,
.quotation-cargo-card {
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    background: white;
}

.quotation-service-card:hover,
.quotation-cargo-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.quotation-service-card.selected,
.quotation-cargo-card.selected {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
}

.quotation-service-card h3,
.quotation-cargo-card h3 {
    font-size: 1.2em;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.quotation-service-card p,
.quotation-cargo-card p {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.5;
}

.quotation-cargo-card small {
    display: block;
    margin-top: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

/* District Section */
.quotation-district-section {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.quotation-district-note {
    padding: 12px 16px;
    background: white;
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

/* Warehouse Section */
.warehouse-pickup-section {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.warehouse-pickup-section.active {
    display: block;
}

.warehouse-info-note {
    background: white;
    padding: 15px;
    border-left: 3px solid var(--accent-color);
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.warehouse-info-note strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

/* Package Selection */
.quotation-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.quotation-package-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    background: white;
}

.quotation-package-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.quotation-package-image {
    position: relative;
    margin-bottom: 12px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 6px;
}

.quotation-package-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.quotation-package-details h6 {
    font-size: 1em;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.quotation-package-details p {
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.quotation-package-price {
    font-size: 1.4em;
    color: var(--accent-color);
    font-weight: 700;
    margin: 10px 0;
}

.quotation-quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.quotation-quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--accent-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.2s ease;
    font-weight: 600;
}

.quotation-quantity-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.quotation-quantity-display {
    font-size: 1.1em;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

/* Custom Package Toggle */
.custom-package-toggle {
    border: 2px dashed var(--accent-color);
    border-radius: 8px;
    padding: 25px;
    background: rgba(59, 130, 246, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin-top: 20px;
}

.custom-package-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-hover);
}

.custom-package-toggle.hidden {
    display: none;
}

.custom-package-icon {
    font-size: 2.5em;
    margin-bottom: 12px;
}

.custom-package-toggle h3 {
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 600;
}

.custom-package-toggle p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* Custom Package Builder */
.custom-package-builder-inline {
    display: none;
    margin-top: 25px;
    padding: 25px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.custom-package-builder-inline.active {
    display: block;
}

.custom-builder-header {
    text-align: center;
    margin-bottom: 25px;
}

.custom-builder-header h3 {
    color: var(--text-primary);
    font-size: 1.5em;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-builder-header p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.custom-builder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.custom-input-section,
.custom-visual-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.custom-input-section h4,
.custom-visual-section h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1em;
    font-weight: 600;
}

.dimension-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.input-wrapper input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9em;
    text-align: center;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-wrapper label {
    display: block;
    text-align: center;
    font-size: 0.8em;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

.weight-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.weight-input-wrapper input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9em;
}

.weight-input-wrapper span {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9em;
}

.description-wrapper textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9em;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all 0.2s ease;
}

.description-wrapper textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.package-preview-box {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.package-preview-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dimension-display {
    position: absolute;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.8em;
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: opacity 0.2s ease;
    border: 1px solid var(--border-color);
}

.dimension-display.visible {
    opacity: 1;
}

.dim-length {
    bottom: 20px;
    left: 40%;
    transform: translateX(-50%);
}

.dim-height {
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
}

.dim-width {
    bottom: 35px;
    left: 80%;
    transform: translateX(-50%);
}
.custom-package-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.custom-action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-action-btn.cancel {
    background: var(--bg-lighter);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.custom-action-btn.cancel:hover {
    background: var(--bg-light);
}

.custom-action-btn.add {
    background: var(--accent-color);
    color: white;
}

.custom-action-btn.add:hover {
    background: var(--accent-hover);
}

.custom-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-package-card-added {
    border: 2px solid var(--warning-color);
    background: rgba(245, 158, 11, 0.05);
}

.custom-package-note {
    font-size: 0.8em;
    color: var(--text-secondary);
    margin-top: 10px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

/* Navigation Buttons */
.quotation-step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 12px;
}

.quotation-nav-button {
    padding: 12px 24px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.quotation-nav-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.quotation-nav-primary:hover {
    background: var(--accent-hover);
}

.quotation-nav-secondary {
    background: white;
    color: var(--text-primary);
}

.quotation-nav-secondary:hover {
    background: var(--bg-light);
}

.quotation-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sidebar */
.quotation-info-sidebar {
    background: var(--bg-light);
    padding: 0;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Carousel */
.quotation-carousel-section {
    margin-bottom: 0;
}

.quotation-carousel-title {
    font-size: 1em;
    color: var(--text-primary);
    margin: 0;
    padding: 16px;
    font-weight: 600;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.quotation-carousel-wrapper {
    position: relative;
    overflow: hidden;
    background: white;
}

.quotation-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.quotation-carousel-slide {
    min-width: 100%;
    position: relative;
}

.quotation-carousel-image {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    cursor: pointer;
    position: relative;
}

.quotation-carousel-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.quotation-carousel-image img:hover {
    transform: scale(1.05);
}

.quotation-carousel-price-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 700;
}

.quotation-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.quotation-carousel-nav:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

.quotation-carousel-nav.prev {
    left: 8px;
}

.quotation-carousel-nav.next {
    right: 8px;
}

/* Image Modal */
#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

#imageModal.show {
    display: flex;
}

#imageModal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

#imageModal span {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
}

/* Cart Total - FIXED WIDTH */
.cart-total-fixed {
    position: fixed;
     bottom: 20px;
    right: 100px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 380px;
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
}

.cart-total-fixed h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 1.1em;
    font-weight: 600;
}

#cart-breakdown {
    margin-bottom: 16px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.cart-total-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9em;
    color: var(--text-secondary);
}

.cart-total-item span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.cart-total-final {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 2px solid var(--border-color);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--accent-color);
}

/* Policy Checkbox */
.policy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 20px;
}

.policy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: var(--accent-color);
}

.policy-checkbox label {
    color: var(--text-secondary);
    font-size: 0.9em;
    cursor: pointer;
    line-height: 1.4;
}

/* Special Instructions */
.special-instructions-note {
    margin-top: 16px;
    padding: 16px;
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 6px;
    font-size: 0.85em;
    color: var(--text-secondary);
    line-height: 1.6;
}

.special-instructions-note strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.special-instructions-note p {
    margin: 6px 0;
}

/* Google-Style Success Modal */
.google-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.google-modal-overlay.active {
    display: flex;
}

.google-modal {
    background: white;
    border-radius: 8px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.google-modal-header {
    padding: 32px 24px 24px;
}

.google-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.google-modal-icon svg {
    width: 28px;
    height: 28px;
    color: var(--success-color);
    stroke-width: 2.5;
}

.google-modal-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.google-modal-body {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.6;
}

.google-modal-info {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 16px;
    margin-top: 16px;
    border: 1px solid var(--border-color);
}

.google-modal-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.google-modal-info-item:last-child {
    border-bottom: none;
}

.google-modal-info-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85em;
}

.google-modal-info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85em;
}

.google-modal-body p {
    margin: 12px 0;
}

.google-modal-footer {
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-color);
}

.google-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-modal-btn-primary {
    background: var(--accent-color);
    color: white;
}

.google-modal-btn-primary:hover {
    background: var(--accent-hover);
}

.google-modal-btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.google-modal-btn-secondary:hover {
    background: var(--bg-lighter);
}

/* Scrollbar Styles */
.country-options::-webkit-scrollbar,
#cart-breakdown::-webkit-scrollbar {
    width: 6px;
}

.country-options::-webkit-scrollbar-track,
#cart-breakdown::-webkit-scrollbar-track {
    background: transparent;
}

.country-options::-webkit-scrollbar-thumb,
#cart-breakdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.country-options::-webkit-scrollbar-thumb:hover,
#cart-breakdown::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Door to Door & Warehouse Info */
.door-to-door-info,
.warehouse-service-info {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 12px 16px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.door-to-door-info strong,
.warehouse-service-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .quotation-content-wrapper {
        grid-template-columns: 1fr;
    }

    .quotation-info-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .quotation-carousel-section {
        margin-bottom: 0;
    }

    .quotation-carousel-wrapper {
        min-height: 180px;
    }

    .cart-total-fixed {
        position: static;
        width: 100%;
        max-height: none;
        margin-top: 20px;
    }
    
    .cart-total-final {
        justify-content: center;

    }
}

@media (max-width: 768px) {
    .quotation-main-container {
         min-width: 100vw;
        margin-top: -120px;
        border-radius: 8px;
    }

    .quotation-main-header {
        padding: 30px 20px;
    }

    .quotation-main-header h1 {
        font-size: 1.8em;
    }

    .quotation-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .quotation-field-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .quotation-service-grid,
    .quotation-cargo-grid {
        grid-template-columns: 1fr;
    }

    .quotation-package-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .custom-builder-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shipment-type-options {
        flex-direction: column;
    }

    .radio-option {
        min-width: 100%;
    }

    .phone-input-container {
        flex-direction: column;
    }

    .country-select-wrapper {
        min-width: 100%;
    }

    .quotation-step-navigation {
        flex-direction: column;
    }

    .quotation-nav-button {
        width: 100%;
    }

    .custom-package-actions {
        flex-direction: column;
    }

    .cart-total-fixed {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: none;
        border-radius: 12px 12px 0 0;
        max-height: 50vh;
    }

    .quotation-info-sidebar {
        grid-template-columns: 1fr;
    }

    .dimension-inputs {
        grid-template-columns: 1fr;
    }

    .quotation-carousel-wrapper {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .quotation-main-header h1 {
        font-size: 1.5em;
    }

    .quotation-main-header p {
        font-size: 0.95em;
    }

    .quotation-step-title {
        font-size: 1.3em;
    }

    .quotation-content-wrapper {
        padding: 16px;
    }

    .quotation-package-grid {
        grid-template-columns: 1fr;
    }

    .quotation-quantity-controls {
        gap: 8px;
    }

    .quotation-quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 1em;
    }

    .custom-package-toggle {
        padding: 16px;
    }

    .custom-package-icon {
        font-size: 2em;
    }

    .cart-total-fixed {
        padding: 16px;
        max-height: 60vh;
    }

    .google-modal {
        width: 95%;
    }

    .google-modal-header {
        padding: 24px 16px 16px;
    }

    .google-modal-body {
        padding: 0 16px 16px;
    }

    .google-modal-footer {
        padding: 12px 16px;
        flex-direction: column;
    }

    .google-modal-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .cart-total-fixed,
    .quotation-step-navigation,
    .quotation-carousel-section {
        display: none;
    }

    .quotation-main-container {
        box-shadow: none;
        margin: 0;
    }
}