
.leaflet-container {
    height: 100%;
    width: 100%;
}

body {
    background: #f5f5f5;
}

/* Steps Progress */
.steps-container {
    background: white;
    padding: 25px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}
.step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #6c757d;
}
.step.active {
    color: #2c3e50;
    font-weight: 600;
}
.step-number {
    font-weight: 600;
}
.step-arrow {
    color: #adb5bd;
    font-size: 18px;
}

/* Main Layout */
.send-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.send-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

/* Form Sections */
.form-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    max-width: 100%;
}
.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Delivery Type */
.delivery-type-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}
.delivery-type-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.delivery-type-card:hover {
    border-color: #EE6930;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.15);
    transform: translateY(-1px);
}
.delivery-type-card.active {
    border-color: #EE6930;
    background: #fffef5;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.2);
}
.delivery-type-card input[type="radio"] {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #EE6930;
}
.delivery-type-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 6px;
}
.delivery-type-icon {
    font-size: 22px;
    color: #EE6930;
}
.delivery-type-arrow {
    font-size: 14px;
    color: #6c757d;
}
.delivery-type-card.active .delivery-type-icon {
    color: #EE6930;
}
.delivery-type-card.active .delivery-type-arrow {
    color: #EE6930;
}
.delivery-type-info {
    width: 100%;
}
.delivery-type-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}
.delivery-type-desc {
    font-size: 10px;
    color: #6c757d;
    margin-bottom: 6px;
    line-height: 1.3;
}

/* Parcel Size */
.size-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.size-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.size-card:hover {
    border-color: #EE6930;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.15);
    transform: translateY(-1px);
}
.size-card.active {
    border-color: #EE6930;
    background: #fffef5;
    box-shadow: 0 2px 8px rgba(255, 204, 0, 0.2);
}
.size-card input[type="radio"] {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #EE6930;
}
.size-icon {
    font-size: 24px;
    color: #2c3e50;
    margin: 8px 0 6px;
}
.size-info {
    width: 100%;
}
.size-name {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}
.size-dims {
    font-size: 10px;
    color: #6c757d;
    margin-bottom: 6px;
    line-height: 1.3;
}
.size-price {
    font-size: 14px;
    font-weight: 600;
    color: #EE6930;
    margin-top: 3px;
}

/* Summary Panel */
.summary-panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px;
    position: sticky;
    top: 100px;
    height: fit-content;
}
.summary-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}
.summary-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}
.summary-item-label {
    font-size: 14px;
    color: #495057;
}
.summary-item-value {
    font-size: 15px;
    font-weight: 500;
    color: #2c3e50;
}
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #2c3e50;
}
.summary-total-label {
    font-size: 16px;
    font-weight: 500;
    color: #495057;
}
.summary-total-price {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
}
.btn-yellow {
    background: #EE6930;
    border: none;
    padding: 16px 30px;
    font-weight: 600;
    border-radius: 8px;
    color: white !important;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}
.btn-yellow:hover {
    background: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.3);
}

/* Form Sections */
.form-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}
.form-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #EE6930;
}
.form-section-header .icon-wrapper {
    width: 45px;
    height: 45px;
    background: #EE6930;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.form-section-header .icon-wrapper i,
.form-section-header .icon-wrapper .fas,
.form-section-header .icon-wrapper .fa {
    color: white !important;
    font-size: 20px;
}
.icon-wrapper i.fas,
.icon-wrapper i.fa {
    color: white !important;
}
.form-section-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
}
.form-control:focus {
    border-color: #EE6930;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
    outline: none;
}
.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}
.form-label .required {
    color: #EE6930;
    margin-left: 3px;
}
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23495057' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Select2 Custom Styles */
.select2-container--default .select2-selection--single {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    height: auto;
    padding: 12px 16px;
    padding-right: 100px;
    font-size: 15px;
    background: white;
}
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #EE6930;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
    outline: none;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #495057;
    line-height: normal;
    padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #adb5bd;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
}
.select2-container {
    width: 100% !important;
}
.select2-dropdown {
    border: 2px solid #EE6930;
    border-radius: 8px;
    margin-top: 4px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #EE6930;
    color: #2c3e50;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #fffef5;
}
.select2-search--dropdown .select2-search__field {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}
.select2-search--dropdown .select2-search__field:focus {
    border-color: #EE6930;
    outline: none;
}
.select2-results__option {
    padding: 10px 12px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .send-layout {
        display: flex;
        flex-direction: column;
    }
    .summary-panel {
        position: static;
        margin-top: 20px;
    }
    .send-container {
        padding: 0 15px 40px;
    }
    .form-content {
        padding: 25px 20px;
    }
    .delivery-type-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .size-options {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .send-container > br {
        display: none;
    }
}
@media (max-width: 576px) {
    .delivery-type-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .delivery-type-card {
        padding: 10px 6px;
    }
    .delivery-type-icon-wrapper {
        gap: 6px;
        margin: 6px 0 4px;
    }
    .delivery-type-icon {
        font-size: 18px;
    }
    .delivery-type-arrow {
        font-size: 12px;
    }
    .delivery-type-name {
        font-size: 12px;
    }
    .delivery-type-desc {
        font-size: 9px;
    }
    .size-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .size-card {
        padding: 10px 6px;
    }
    .size-icon {
        font-size: 20px;
        margin: 6px 0 4px;
    }
    .size-name {
        font-size: 12px;
    }
    .size-dims {
        font-size: 9px;
    }
    .size-price {
        font-size: 13px;
    }
    .form-content {
        padding: 20px 15px;
        border-radius: 8px;
    }
    .form-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    .form-section-header h3 {
        font-size: 16px;
    }
    .form-section-header .icon-wrapper {
        width: 40px;
        height: 40px;
    }
    .section-title {
        font-size: 18px;
    }
    .summary-panel {
        padding: 20px;
    }
    .summary-title {
        font-size: 22px;
    }
    .summary-total-price {
        font-size: 24px;
    }
    .btn-yellow {
        padding: 14px 25px;
        font-size: 15px;
    }
    .select2-container--default .select2-selection--single {
        padding: 10px 14px;
        font-size: 14px;
    }
    .select2-dropdown {
        font-size: 14px;
    }
    .select2-results__option {
        padding: 12px 14px;
    }
    .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }
    .form-label {
        font-size: 13px;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media (max-width: 380px) {
    .size-options {
        gap: 6px;
    }
    .size-card {
        padding: 8px 4px;
    }
    .summary-panel {
        padding: 15px;
    }
    .form-section {
        padding: 15px 12px;
    }
    #helpButton {
        width: 45px !important;
        height: 45px !important;
        bottom: 1.2rem !important;
        right: 1.2rem !important;
        font-size: 18px !important;
    }
}
