.left-side {
    background-color: #fcfcfc;
    overflow-y: auto;
}

.nav-tabs-custom {
    border-bottom: 2px solid #f1f5f9;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 1rem 0;
    margin-right: 2rem;
    background: transparent;
}

.nav-tabs-custom .nav-link.active {
    color: #010535;
    border-bottom: 2px solid #010535;
}

.fw-boldest {
    font-weight: 900 !important;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 992px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.photo-item-container {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: flex-start;
}

/* Metronic Image Input Customization */
.image-input-wrapper {
    background-size: cover;
    background-position: center;
    border: 2px dashed #e4e6ef; /* Gives an 'empty' look when no photo exists */
    background-color: #f5f8fa;
    border-radius: 0.475rem;
}

.btn-photo-action {
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    color: #64748b;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.btn-photo-edit {
    top: -8px;
    right: -8px;
}

.btn-photo-remove {
    bottom: -8px;
    right: -8px;
}

.urgency-bar {
    background: transparent !important;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
}

.urgency-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.urgency-item img {
    width: 22px;
    height: 22px;
    background-color: transparent !important;
    padding: 0;
    object-fit: contain;
}

.nau-label {
    font-weight: 800;
    background-color: transparent !important;
    padding: 0;
    font-size: 0.7rem;
    color: #ffffff !important;
    height: 22px;
    display: flex;
    align-items: center;
}

.urgency-item .form-check-input {
    margin-top: 8px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: 1.25rem;
    width: 1.25rem;
}

.btn-back {
    background-color: #fc0b05 !important;
    color: white;
    border: none;
    font-weight: 700;
}

.photo-item-container .btn-icon,
.photo-grid .btn-icon {
    background-color: #fc0b05 !important;
}

.photo-item-container .btn-icon .ki-duotone,
.photo-grid .btn-icon .ki-duotone {
    color: white;
}

.btn-next {
    background-color: #27b408 !important;
    color: white;
    border: none;
    font-weight: 700;
}

.btn-back:hover,
.btn-next:hover {
    opacity: 0.9;
}

.btn-back,
.btn-next {
    height: auto !important;
    min-height: 30px;
    white-space: normal;
    line-height: 1.2;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.disclaimer-text {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.4;
}

.invoice-section {
    max-width: 600px;
}

.timeline-container {
    padding-left: 2.5rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 25px;
    bottom: 25px;
    width: 2px;
    border-left: 2px dashed #e2e8f0;
    z-index: 0;
}

.timeline-dot-container {
    position: absolute;
    left: -10px;
    background: white;
    padding: 2px 0;
    z-index: 1;
}

.location-name {
    font-size: 1.1rem;
    color: #010535 !important;
}

.location-details {
    font-size: 0.85rem;
    color: #94a3b8 !important;
}

.top_form_container {
    background: white !important;
}

.main-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.content-area {
    flex: 1;
    /* Takes up all remaining space */
    background-color: #ffffff;
    padding: 40px;
    overflow-y: auto;
}

.sidebar-right {
    width: 855px;
    /* Fixed width like the image */
    background-color: #000033;
    /* Dark navy from the image */
    color: white;
    overflow-y: auto;
}

/* For responsiveness: stack them on mobile */
@media (max-width: 1400px) {
    .main-wrapper {
        flex-direction: column;
    }

    .sidebar-right {
        width: 100%;
    }
}
