.bg-breadcrumb {
    background: linear-gradient(rgba(19, 53, 123, 0.5), rgba(19, 53, 123, 0.5)), url('/agent/images/ARJ.jpeg') !important
}

.supreme {
    z-index: 999 !important;
}

.loader-login-size {
    width: 3rem !important;
    height: 3rem !important;
}

#spinner {
    background-color: rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;
}

#loadermain {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease-in-out !important;
    z-index: 9999 !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
}

#loadermain.show {
    opacity: 1 !important;
    visibility: visible !important;
}

tr.selected-flight {
    background-color: #e2fbf0 !important;
    border-left: 4px solid #198754 !important
}

.bg-plane {
    background-color: #e8d9fd !important
}

.card .card-body-custom {
    cursor: pointer !important;
    padding: 1.5rem !important;
    transition: all 0.3s ease !important;
    min-height: 370.13px !important;
}

.card .card-body-custom:hover {
    transform: scale(1.05) !important;
    border: 1px solid #fbd126 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.bs-stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step {
    display: flex;
    align-items: center;
    flex: 1;
}

.step-trigger {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    width: 100%;
}

.bs-stepper-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    flex-shrink: 0;
}

.step.active .bs-stepper-circle {
    background-color: #435ebe;
    color: white;
}

.bs-stepper-label {
    margin-left: 10px;
    text-align: left;
}

.bs-stepper-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #25396f;
}

.bs-stepper-subtitle {
    display: block;
    font-size: 12px;
    color: #6c757d;
}

.line {
    height: 2px;
    background-color: #e9ecef;
    flex: 1;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .bs-stepper-header {
        flex-direction: column;
    }

    .step {
        width: 100%;
        margin-bottom: 10px;
    }

    .line {
        display: none;
    }

    #main {
        padding: .5rem !important;
    }
}

@keyframes tagAppear {
    from {
        opacity: 0 !important;
        transform: scale(0.8) !important;
    }

    to {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

.bg-purple {
    --bs-bg-opacity: 1 !important;
    background-color: rgb(135 67 190) !important;
}

.bg-orange {
    --bs-bg-opacity: 1 !important;
    background-color: rgb(255, 155, 47) !important;
}

.bg-brown {
    --bs-bg-opacity: 1 !important;
    background-color: #a42c00c5 !important;
}

.collapse {
    transition: height 0.35s ease;
}

:root {
    --transnusa-blue: #131f78 !important;
    --transnusa-yellow: #fdd126 !important;
    --transnusa-lime: #c5d610 !important;
    --transnusa-light: #f4f6ff !important;
}

.bg-yellow {
    background-color: var(--transnusa-yellow);
}

.font-small {
    font-size: smaller;
}

.info-card {
    background: #131f78 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(253, 209, 38, 0.35) !important;
}

.btn-register {
    background-color: var(--transnusa-yellow) !important;
    color: var(--transnusa-blue) !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-register:hover {
    background-color: var(--transnusa-lime) !important;
    color: var(--transnusa-blue) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(197, 214, 16, 0.45) !important;
}

.tracking-card {
    background: var(--transnusa-blue) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(19, 31, 120, 0.25) !important;
}

.tracking-input {
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    padding: 12px 48px 12px 16px !important;
    font-size: 0.95rem !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.tracking-input:focus {
    border-color: var(--transnusa-yellow) !important;
    box-shadow: 0 0 0 3px rgba(253, 209, 38, 0.25) !important;
    outline: none !important;
}

.btn-track {
    background-color: var(--transnusa-yellow);
    color: var(--transnusa-blue) !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 32px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.btn-track:hover {
    background-color: var(--transnusa-lime) !important;
    color: var(--transnusa-blue) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(197, 214, 16, 0.4) !important;
}

.icon-input-wrapper {
    position: relative !important;
}

.icon-input-wrapper .info-icon {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #aaa !important;
    cursor: help !important;
}

.tooltip-custom {
    display: none !important;
    position: absolute !important;
    bottom: calc(100% + 10px) !important;
    right: 0 !important;
    background: white !important;
    color: #333 !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    z-index: 99 !important;
}

.tooltip-custom::after {
    content: '' !important;
    position: absolute !important;
    top: 100% !important;
    right: 10px !important;
    border: 6px solid transparent !important;
    border-top-color: white !important;
}

.info-icon:hover+.tooltip-custom,
.tooltip-custom:hover {
    display: block !important;
}

.highlight-yellow {
    color: var(--transnusa-yellow) !important;
}

.ExploreTour {
    background-color: var(--transnusa-light) !important;
}

.upload-area {
    border: 2px dashed #131f78;
    border-radius: 12px;
    background-color: #f4f6ff;
    transition: background-color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    background-color: #e8ecff;
    border-color: #fdd126;
}

.upload-area .upload-icon {
    font-size: 2.5rem;
    color: #131f78;
}

.file-preview-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(19, 31, 120, 0.07);
}

.file-preview-card .file-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    flex-shrink: 0;
}

.file-preview-card .file-icon {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: #f0f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    color: #131f78;
}

.file-preview-card .file-info {
    flex: 1;
    min-width: 0;
}

.file-preview-card .file-name {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #131f78;
}

.file-preview-card .file-size {
    font-size: 0.78rem;
    color: #888;
}

.file-preview-card .btn-remove {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.1rem;
    padding: 4px 6px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.file-preview-card .btn-remove:hover {
    background: #ffeaea;
}

#filePreviewList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge-filetype {
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.status-timeline {
    position: relative;
    padding: 0;
    list-style: none;
}
.status-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
    z-index: 0;
}
.timeline-item {
    position: relative;
    display: flex;
    gap: 1rem;
    padding-bottom: 1.75rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1;
    border: 2px solid transparent;
}
.timeline-icon.completed { background:#198754; color:#fff; border-color:#198754; }
.timeline-icon.current   { background:#0d6efd; color:#fff; border-color:#0d6efd; animation:pulse-ring 1.8s ease-out infinite; }
.timeline-icon.pending   { background:#fff; color:#adb5bd; border-color:#dee2e6; }
.timeline-icon.rejected  { background:#dc3545; color:#fff; border-color:#dc3545; }
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(13,110,253,.4); }
    70%  { box-shadow: 0 0 0 10px rgba(13,110,253,0); }
    100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}
.timeline-content .step-label  { font-weight:600; margin-bottom:.1rem; }
.timeline-content .step-desc   { font-size:.85rem; color:#6c757d; }
.timeline-content.current   .step-label { color:#0d6efd; }
.timeline-content.completed .step-label { color:#198754; }
.timeline-content.rejected  .step-label { color:#dc3545; }
.timeline-content.pending   .step-label { color:#adb5bd; }
.timeline-content.pending   .step-desc  { color:#ced4da; }

.bg-register {
    background: linear-gradient(rgba(244, 246, 255, 0.85), rgba(244, 246, 255, 0.85)),
                url('/agent/images/icon-192x192.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}