﻿
/*count of order*/

.circleOrangePayment {
  background: rgba(22, 83, 238, 0.98);
  border-radius: 3em;
  -moz-border-radius: 3em;
  -webkit-border-radius: 3em;
  color: #ffffff;
  height: 1.8em;
  width: 1.8em;
  display: inline-block;
  font-size: 11px;
  line-height: 1.8em;
  text-align: center;

}
.circleOrangeProcessing {
  background: #ffb700;
  border-radius: 3em;
  -moz-border-radius: 3em;
  -webkit-border-radius: 3em;
  color: #ffffff;
  height: 1.8em;
  width: 1.8em;
  display: inline-block;
  font-size: 11px;
   line-height: 1.8em;
  text-align: center;
}
.circleOrangeDelivered {
  background: #129f1d;
  border-radius: 3em;
  -moz-border-radius: 3em;
  -webkit-border-radius: 3em;
  color: #ffffff;
  height: 1.8em;
  width: 1.8em;
  display: inline-block;
  font-size: 11px;
    line-height: 1.8em;
  text-align: center;
}
.circleOrangeReturn {
  background: #c40808;
  border-radius: 3em;
  -moz-border-radius: 3em;
  -webkit-border-radius: 3em;
  color: #ffffff;
  height: 1.8em;
  width: 1.8em;
  display: inline-block;
  font-size: 11px;
   line-height: 1.8em;
  text-align: center;
}


/*}=============================================*/

/* Sidebar Styling */

#sidebar {
    /*padding-right: px;*/
    /*background-color: #f8f9fa;*/
    /*border-left: 1px solid #ddd;*/
    min-height: 30vh;
    transition: transform 0.3s ease; /* Smooth transition */
    transform: translateX(0); /* Default: visible */
}

/* Sidebar Styling */
#sidebar .nav-link {
    color: #333;
    font-weight: 500;
    /*padding: 10px 15px;*/
    transition: color 0.3s ease;
    display: block; /* Ensure links are block elements */
}

#sidebar .nav-link.active {
    /*background-color: #007bff;*/
    color: #73acf8; /* Active link text color */
    font-weight: bold;
}

#sidebar .nav-link:hover {
    color: #007bff; /* Change text color on hover */
    background-color: transparent; /* Remove background hover effect */
}


/* Main Content Styling */
main {
    background-color: #fff;
    padding: 1px;
    overflow-y: auto;
    min-height: 90vh;
}

main h1 {
    font-size: 28px;
    font-weight: bold;
}

main p {
    color: #666;
    font-size: 16px;
}

.border-bottom {
    border-bottom: 2px solid #ddd;
}

@media (max-width: 767.98px) {
    #sidebar {
        /*transform: translateX(100%);*/
        background: rgba(232, 233, 239, 0.98);
        backdrop-filter: blur(5px);
        border-radius: 5px;
        position: absolute;
        z-index: 9999;
        left: 45%; /* RTL: sidebar moves from the right */
        width: 180px;

    }


    /* Adjust sidebar links for mobile */
    #sidebar .nav-link {
        width: 100%;
        /*text-align: center;*/
        padding: 8px 15px;
        display: block;
    }
    main {
    min-height: 60vh;
     }
}

@media (max-width: 767.98px) {
    /* Optional: Add padding or margin adjustments for better spacing */
    #sidebar {
        margin-bottom: 20px; /* Ensure some space below sidebar */
    }

    main {
        max-width: 100%;
        padding-top: 0; /* Remove any extra padding to fit below the sidebar */
    }
}
/*-===============================================*/
/*order process*/

.multi-step-bar {
    overflow: hidden;
    counter-reset: step;
    width: 80%;
    margin: 15px auto 20px;
    direction: rtl;
    position: relative;
}

@media (max-width: 768px) {
    .multi-step-bar {
        width: 105%;
        padding: 1px;
        align-items: center;
        margin-left: 1rem;
    }
}

.multi-step-bar li {
    text-align: center;
    list-style-type: none;
    color: #363636;
    text-transform: capitalize;
    width: 16%;
    position: relative;
    font-weight: 500;
    float: right;
    padding: 0;

}

/* Circle number styling */
.multi-step-bar li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: block;
    font-size: 14px;
    color: #4CAF50; /* Default circle color */
    background: #e6e6e6;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    box-shadow: 0 6px 20px 0 rgba(69, 90, 100, 0.15);
    position: relative;
    z-index: 2;
}

/* Connecting line styling */
.multi-step-bar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #e6e6e6; /* Default line color */
    position: absolute;
    right: -50%;
    top: 15px;
    z-index: 1;
}

/* Remove line for the first step */
.multi-step-bar li:first-child:after {
    content: none;
}

/* Styling for completed steps */
.multi-step-bar li.completed:before {
    background: #4CAF50; /* Completed step circle color */
    color: white;
}

/* Styling for active steps */
.multi-step-bar li.active:before {
    background: green; /* Active step circle color */
    color: white;
}

/* Change the color of the connecting line for completed or active steps */
.multi-step-bar li.completed:after,
.multi-step-bar li.active:after {
    background: #4CAF50; /* Completed or active line color */
}

/* Override the connecting line color when the next step is not completed */
.multi-step-bar li.completed + li:after {
    background: #e6e6e6; /* Inactive line color */
}

/* Step Info Styling */
.step-info {
    display: none; /* Hide all text boxes by default */
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 8px 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
}

/* Show text box only for the active step */
.multi-step-bar li.active .step-info {
    display: block; /* Show the text box for active step */
}
