/* Travel History Specific CSS */

.travel-history h3 {
    font-size: 28px;
    color: #000;
}

.travel-history p.text-muted {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.tracking-search .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0 20px;
}

.btn-orange {
    background: #FA752A;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    padding: 0px 10px;
    transition: all 0.3s;
}

.btn-orange:hover {
    background: #e05e19;
    color: #fff;
}

/* Tracking Search Section */
.tracking-search {
    border: 1px solid #FFBD95;
    border-radius: 10px;
    display: inline-flex;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    background: #fff;
    padding: 0;
}

.tracking-search .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    height: 50px;
    padding: 0 20px;
    flex-grow: 1;
}

.tracking-search .btn-orange {
    border-radius: 0 8px 8px 0;
    height: 50px;
    margin: 0;
    white-space: nowrap;
}

/* Shipment Status Card */
.shipment-status-card {
    background: #FDE9D9;
    border-radius: 12px;
    border: none;
}

.shipment-title-row {
    font-size: 16px;
    margin-bottom: 10px;
}

.shipment-title-row i {
    font-size: 18px;
    margin-right: 5px;
}

.info-label {
    font-size: 13px;
    color: #000;
    width: 120px;
    display: inline-block;
}

.info-value {
    font-size: 13px;
    color: #000;
}

.info-value a {
    color: #000;
    text-decoration: underline;
}

.timeline-container {
    background: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shipment-timeline {
    position: relative;
    height: 2px;
    background: #000;
    margin: 0 20px;
}

.timeline-points {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.point {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
}

.timeline-status-text {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    margin-top: 20px;
}

/* Travel History Section */
.history-header {
    background: #5D5D5D;
    border-radius: 8px;
    padding: 18px 20px;
}

.history-header h5 {
    font-size: 14px;
    font-weight: 500;
}

.travel-history-section .dropdown .btn {
    font-size: 0.89rem;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    min-width: 130px;
    border-radius: 8px;
    padding: 15px 20px;
}

.travel-history-section .dropdown .dropdown-menu {
    background: #ffffff;
    display: none;
    min-width: 140px; border-radius: 8px; 
    font-size: 0.89rem; padding: 10px 15px;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    border: 1px solid #dedede;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.travel-history-section .dropdown .dropdown-menu.show {
    display: flex;
}

.travel-history-section .dropdown-menu li>a.dropdown-item {
    background: #fdfdfd;
    border: 1px solid #e4e4e4;
    color: #555555;
    padding: 10px 15px;
    border-radius: 8px;
}

.travel-history-section .dropdown-menu li>a.dropdown-item:hover {
    background: #f4f4f4;
}

.travel-history-section .dropdown-menu li>a.dropdown-item.active {
    background: transparent;
    color: #FA752A;
    font-weight: bold;
    border-color: transparent;
}

.history-table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.history-table thead th {
    background: transparent;
    border: none;
    font-size: 14px;
    padding: 10px 20px;
}

.history-table tbody tr {
    background: #F8F8F8;
}

.history-table tbody tr:nth-child(even) {
    background: #fff;
}

.history-table tbody td {
    border: none;
    padding: 20px;
    vertical-align: top;
}

.timeline-col {
    position: relative;
    width: 40px;
    padding: 20px 0 !important;
    text-align: center;
}

.timeline-line-vertical {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #000;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    background: #5D5D5D;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.activity-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-row {
    display: flex;
    font-size: 13px;
    line-height: 1.4;
}

.activity-time {
    width: 80px;
    flex-shrink: 0;
}

.activity-desc {
    flex-grow: 1;
}

.location-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.callback-card h4 {
    font-size: 28px;
}

.callback-card p.text-light {
    font-size: 16px;
    font-weight: 300;
}

.callback-card .form-control,
.callback-card .form-select {
    background: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
}

.callback-card textarea.form-control {
    height: 100px;
}

.callback-card .btn-orange {
    height: 50px;
    font-size: 16px;
}

.text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}