/* Your Custom CSS Goes here */
.error
{
    color:red;
}

.tour-type-card.active {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.dropzone-custom {
    border: 2px dashed #ccc;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    border-radius: 8px;
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dropzone-custom img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: none;
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 1;
}

.dropzone-icon {
    z-index: 2;
    color: #aaa;
    text-align: center;
    font-size: 14px;
}







.image-preview-box {
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.package-image-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.upload-trigger {
    border: 2px dashed #d0d7de;
    border-radius: 8px;
    padding: 10px;
    width: 100px;
    margin: 0 auto;
    transition: border-color 0.3s;
}

.upload-trigger:hover {
    border-color: #0d6efd;
}


#paymentPopup {
    position: fixed !important;
}



#paymentPopup span.status-option:hover {
    background-color: #f1f1f1;
    border-radius: 4px;
    padding: 3px 6px;
}

.sortable-ghost {
    opacity: 0.4;
    background: #f8f9fa;
}

.sortable-chosen {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sortable-drag {
    transform: rotate(5deg);
}

.sortable-handle {
    cursor: grab;
}

.sortable-handle:active {
    cursor: grabbing;
}

/* Custom Form Control Styling */
.form-control {

    border: 1px solid #b8b8b8 !important;

}


.form-check-input {

    border-color: #b8b8b8;

}


.booking-status-option {
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.2s;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .booking-status-option:hover {
        background-color: #f8f9fa;
    }
    .booking-status-option.active {
        background-color: #e9ecef;
    }
    .booking-status-option i {
        width: 16px;
    }
    /* Fix select2 dropdown z-index issue in modals */
    .select2-dropdown, .select2-container--open {
        z-index: 10000 !important;
    }
    /* Modal form styling */
    #assignDriverForm .form-label {
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
    }
    #assignDriverForm .form-select,
    #assignDriverForm .form-control {
        width: 100%;
    }
    #assignDriverForm .select2-container {
        width: 100% !important;
    }
    #assignDriverForm .select2-selection {
        min-height: 38px;
        border-radius: 0.25rem;
    }
    #assignDriverForm .row {
        margin-bottom: 1rem;
    }
    #assignDriverForm .input-group-text {
        border-radius: 0.25rem;
    }
    #passengerSeatsInfo {
        background: #f6fbff;
        border: 1px solid #cfe7ff;
        border-radius: 10px;
        padding: 10px;
    }
    .metric-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(90px, 1fr));
        gap: 8px;
    }
    .metric-chip {
        background: #ffffff;
        border: 1px solid #dbe8f5;
        border-radius: 8px;
        padding: 8px 6px;
        text-align: center;
        line-height: 1.2;
    }
    .metric-label {
        display: block;
        font-size: 11px;
        color: #5f6b7a;
        margin-bottom: 4px;
    }
    .metric-value {
        font-size: 18px;
        font-weight: 700;
        color: #1f2d3d;
    }
    @media (max-width: 768px) {
        .metric-grid {
            grid-template-columns: repeat(2, minmax(100px, 1fr));
        }
    }

.dataTables_scroll .dataTables_scrollBody thead {
    display: table-header-group !important;
    visibility: hidden;
    height: 0;
}