.page {
    display: none;
}

.page.active {
    display: block;
}


#dashboard {
   padding: 30px;
    display: flex;
    gap:20px;
    height: auto;
    width: 100%;
    /* grid-template-rows: 1fr;
    grid-template-columns: 350px 1fr; */
}


#dashboard-heading {
    width: 100%;
    padding-top: 150px;
    padding-bottom: 20px;
}

#dashboard-heading h2 {
    font-weight: 700;
    font-size: 40px;
}
@media  (max-width: 768px) {
    #nav {
        display: none;
    }

    #main {
        width: 100%;
    }

    #dashboard {
        padding-bottom: 30px;
        grid-template-areas: 
    "content"
    "content"
    "content";
    grid-template-columns: 1fr;
    padding: 0;
    margin-bottom: 100px;
    }
}

#nav {
    overflow:hidden;
    position: sticky;
    margin: 0 10px;
    height: 100vh;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    width: 400px;
    top:15%
}

#mobilenav {
    height: 100%;
    width: 100%;
}

#main {
    margin: 0 10px;
    border-radius: 1.5rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    background: rgb(245, 242, 242);
    grid-area: content;
    height: auto;
    width: 100%;
}

.db-bg-image img {
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
  #main {
    box-shadow: none;
    border-radius: 0;
  }
}

.avatar-container {
    position: absolute;
    bottom: -14%;
    left: 35%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    background-color: #fff; 
}

.avatar-image {
    position: relative;
    width: 100%; 
    height: 90%; 
    margin-top: 5px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #fff; 
}

.mobile-icon-container {
    position: absolute;
    z-index: 10;
    bottom: 5px;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.mobile-icon {
    width: 100%;
    padding: 5px;
}

.nav-user-details {
    margin-top: 50px;
    text-align: center;
}

.nav-user-details h6 {
    /* margin-top: 40px;
    padding-top: 30px; */
    font: bold;
    text-transform: capitalize;
    font-size: 22px;
}

.nav-user-details p {
    padding: 0;
    color: gray;
    font-size: 14px;
    text-align: center;
}

hr {
    width: 90%;
}

.db-nav-buttons {
    margin-bottom: 30px;
}

.db-nav-link {
    cursor: pointer;
    font-size: 18px;
    color: gray;
    text-align: start;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px;
border-bottom: 1px solid #e8e8e8;
}

.db-nav-link.active {
    background-color: #FFDFDF; 
    font-weight: bold; 
    
  }

.db-nav-link:hover {
    background-color: #feeaea;
}




.db-nav-link img {
    margin-right: 15px;
}

.dashboard-content {
    padding: 20px;
    width: 100%;
}
.dashboard-heading {
    padding-bottom: 10px;
    border-width: auto;
    border-bottom: 2px solid rgb(251, 179, 47);
}

.dashboard-heading h4 {
    font-size: 28px;
    margin-top: 15px;
    margin-left: 10px;
    
    text-align: start;
    font-weight: 700;
}

.dashboard-para span {
    font-weight: bold;
}

.dashboard-para {
    padding-top: 25px;
}

.dashboard-para p {
    font-size: 18px;
    padding: 2px 10px;
    margin-bottom: 0;
}

.dashboard-box {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

@media (max-width: 768px) {
    .dashboard-box {
        grid-template-columns:  1fr;
    }

    
}



.dashboard-box-item {
    margin: 25px;
    width: auto;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    
}

.dashboard-box-content {
    padding: 10px;
    text-align: start;
    display: flex;
    align-items: start; 
    justify-content: start;
}

.dashboard-box-content img {
    color: aquamarine;
}

.dashboard-box-text p {
    color: gray;
    font-size: 18px;
    font-weight: 600;
    padding: 6px 10px;
    margin: 0;
}

.dashboard-account {
    text-align: start;
}

.dashboard-account h4 {
    font-size: 28px;
    padding-top: 10px;
    
}

.dashboard-account-heading {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

.dashboard-account-heading button {
    color: orange;
}

.dashboard-account-heading button:hover {
    color: orangered;
}

.dashboard-text {
    padding-top: 10px;
}

.dashboard-text p {
    color: gray;
    padding: 4px;
    margin-bottom: 4px;
}

.dashboard-text button {
    padding: 0;
    color: orange
}

.dashboard-text button:hover {
    color: orangered
}

.order-box {
    /* margin: 30px 10px; */
    border-radius: 1rem;
    /* background-color: white; */
    height: auto;
    

}

.order-heading {
     padding: 20px;
    /* display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start; */
}


.order-icon {
    background-color: rgba(255, 165, 0, 0.3); 
    width: 50px; 
    height: 50px;
    border-radius: 50%; 
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 50px; 
    float: left;
    /* margin: 20px; */
}

.order-icon img {
    max-width: 100%;
    max-height: 100%;
}

.order-title {
    text-align: start;
}

.order-title h4 {
    font-weight: 700;
    font-size: 26px;
}

.order-title p {
    color: gray;
    padding-left: 3px;
}

.badge {
    margin-left: 12px;
    
}


.order-product {
    padding: 20px;
    margin: 20px auto;
    border-radius: 1rem;
    background-color: rgb(245, 242, 242);;
    height: auto;
    width: 90%;
}

@media  (max-width: 658px) {
    .order-content {
        flex-direction: column;
        align-items: center;
        text-align: start;
    }

    
}




.order-content {
    margin: 10px auto;
    /* display: flex;
    justify-content: space-between; */
}

.order-product-details {
    margin-left: 50px;
    text-align: start;
}

@media  (max-width: 658px) {
    .order-product-details {
        margin-left: 0;
        margin-top: 10px;
    }

    .order-heading {
        margin-left: 0px;
    }

    .order-title {
        margin-left: 15px;
    }
}

.order-product-details h6 {
    font-weight: 600;
    font-size: 24px;
}
.order-product-details span {
    margin-left: 4px;
    color: #000;
}

.order-product-details p {
    color:gray;
    margin: 0;
    padding: 2px 0;
}


.profile-name h5{
    padding: 20px;
    padding-left: 40px;
    text-align: start;
    font-weight: 600;
    font-size: 26px;
}

.profile-name h6{
    padding: 0 40px;
    font-weight: 600;
    font-size: 22px;
}

.profile-name button {
    padding-right: 40px;
}

@media  (max-width: 658px) {
    .profile-address {
        flex-direction: column;
        padding-left: 40px;
    }

    .profile-details {
        text-align: start;
        padding: 10px;
    }
}
.profile-address {
    padding-top: 20px;
    display: flex;
    justify-content: space-around;
}

.profile-address p {
    text-align: start;
    color: gray;
    padding: 0;
}

.profile-address-text {
    padding-bottom: 15px;
    margin: 15px 20px;
}

.profile-details {
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 30px;
text-align: left;
}

@media  (max-width: 658px) {
    .profile-details {
        padding: 10px;
    }

    .profile-details p {
        font-size: 14px;
    }
    .profile-address-text {
        text-align: start;
    }
}

.profile-details p {
    font-size: 18px;
    color: gray;
}

.profile-details span {
    padding-left: 40px
}

.new-address-button {
    margin: 15px;
    text-align: end;
}

.user-address-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

@media  (max-width: 658px) {
    .user-address-box {
        grid-template-columns: 1fr;
    }

    
}

.user-address-details {
    padding: 10px;
    /* margin: 25px; */
    width: auto;
    height: auto;
    max-height: 300px;
    border-radius: 0.7rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
text-align: left;
}
.user-address-name {
    margin: 5px 15px;
    display: flex;
    justify-content: space-between;
}

@media  (max-width: 658px) {
    .user-address-details {
        text-align: start;
        margin: 10px;
    }

    
}

.user-address-name .badge {
   margin: 0;
    padding: 5px 5px;
}



.user-address-text span {
    margin-left: 10px; /* Add margin to the left of the span element */
    margin-right: 10px; /* Add margin to the right of the span element */
}

.user-address-text p {
    font-size: 17px;
    color: gray;
    padding: 5px;
    margin: 0;
    margin-left: 10px;
}

@media  (max-width: 658px) {
    .user-address-text p {
        margin-left: 4px
    }
}


.form-check-label {
    font-weight: 600;
    font-size: 18px;
}


.user-address-buttons {
    display: flex;
    justify-content: space-evenly;
    margin: 10px;
}

.privacy-info {
    padding-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.privacy-info h6 {
    padding-left: 0;
}

.privacy-info p {
    color: gray;
    padding: 0;
    margin-bottom: 0;
}

/* Increase the switch size */
.form-switch .form-check-input {
    width: 3rem;
    height: 1.2rem;
  }
  

  .privacy-button {
    padding: 30px;
    padding-left: 50px;
    text-align: start;
  }

  .privacy-button button {
    color: #fff;
    padding: 10px 20px;
  }

  .show-menu-button {
    display: none;
    text-align: start;
    padding: 10px 50px;
  }

  .show-menu-button button {
    color: white;
    padding: 10px 25px;
    background-color: orange;
  }

  .show-menu-button button:hover {
    background-color: orangered;
  }

  @media  (max-width: 658px) {

    .privacy-info h6 {
        text-align: start;
    }
    .privacy-info p {
        text-align: start;
    }
    
    .show-menu-button {
        display: block;
    }
  }

  