.stepper-container {
    padding: 20px 0;
}

.stepper-item {
    position: relative;
    padding: 0 10px;
}

.stepper-circle {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark .stepper-circle {
    background: #2f3446;
    color: #fff;
}
.user-menu-toggle-icon {
    color: #000;
}
.dark .user-menu-toggle-icon {
    color: #fff;
}

.stepper-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stepper-line {
    position: absolute;
    top: 30px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Toast RTL Support */
.rtl .Toastify__close-button {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
}

.rtl .Toastify__toast-body {
    padding-left: 40px !important;
    padding-right: 16px !important;
}

/* Additional RTL support for toast positioning */
[dir="rtl"] .Toastify__close-button {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
}

[dir="rtl"] .Toastify__toast-body {
    padding-left: 40px !important;
    padding-right: 16px !important;
}

/* Ensure toast container positioning for RTL */
[dir="rtl"] .Toastify__toast-container--bottom-left {
    left: 1em !important;
    right: auto !important;
}

/* RTL support for stepper line */
[dir="rtl"] .stepper-line {
    left: auto;
    right: -50%;
}

/* Additional RTL support for stepper container */
[dir="rtl"] .stepper-container {
    direction: rtl;
}

[dir="rtl"] .stepper-item {
    direction: rtl;
}

.stepper-title {
    margin: 10px 0 5px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #495057;
}

.stepper-description {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 0;
}

/* Completed states */
.stepper-item.completed .stepper-circle {
    /* border-color: #3bb77e; */
    background: #3bb77e;
    color: #fff;
}

.stepper-line.completed {
    background: #3bb77e;
    color: #fff;
}
.stepper-item.active .stepper-circle {
    background: #3bb77e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stepper-circle .rounded-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stepper-item {
        margin-bottom: 30px;
    }

    .stepper-line {
        display: none;
    }
}
.form-check {
    padding-left: 0.5rem !important;
}
.form-switch .form-check-input {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
    width: 2.25rem !important;
    height: 1.25rem !important;
}
.dark .form-check-input:checked {
    background-color: #3bb77e !important;
    border-color: #3bb77e !important;
}
.bg-teal {
  background-color: #43a047 !important;
  color: #fff; /* ensures text stays readable */
}
.bg-violet {
  background-color: #7e57c2 !important;
  color: #fff; /* for contrast and readability */
}
.bg-delivered {
  background-color: #2563eb !important; /* Royal Blue */
  color: #fff;
}
.bg-processing {
  background-color: #055160 !important; 
  color: #fff;
}
.item-card-invoice{
    margin-top: 1.3rem !important;
}