.btn{
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}
.my-account{
  background-image: url(../img/my-account-banner.jpg);
  height: 300px;
  border-radius: 10px;
  background-size: cover; /* Add this line to scale the image to cover the container */
  background-repeat: no-repeat; /* Add this line to prevent the image from repeating */
  background-position: center; /* Optional, to center the image horizontally and vertically */ 
  
}
.my-account h1{
  color: white;
  font-size: 500%;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', 'sans-serif';
  text-align: center;
  position: relative;
}
.container {
    display: flex;
}
main{
    margin-top:120px;
}
.content {
    flex-grow: 1;
    padding: 20px;
}
.sidebar {
    width: 350px;
    background-color: gray;
    color: #fff;
    padding: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 15px;
    cursor: pointer;
}

.sidebar li a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.sidebar li:hover a {
    background-color: #444;
}

.sidebar li.active a {
    background-color: #555;
}
.content {
    flex-grow: 1;
    padding: 20px;
    background-color: #f0f0f0;
}

.content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.content p {
    line-height: 1.5;
    margin-bottom: 10px;
}
/* Example animation for sidebar items */
.sidebar li a {
    transition: background-color 0.3s ease-in-out;
} 


/* containt starts  */

.dynamic-dashbord-info a{
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius:4px;
  cursor: pointer;
}
  



.dashboard {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 50px;
  margin-left: 150px;
  margin-right: 150px;
}

.menu-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.menu-item {
  width: 300px;
  height: 200px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  text-align: center;
  line-height: 100px;
  transition: background-color 0.3s ease;
}

.menu-item:hover {
  background-color: #e0e0e0;
}

.menu-item img {
  width: 50px;
  height: 50px;
  margin-top: 40px;


} 

.menu-item span {
  font-size: 14px;
}

/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #e9ecef;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.content {
   width:63%;
    margin: 20px auto;
   
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.dynamic-dashbord-info {
    padding: 25px;
    border-bottom: 2px solid #eaeaea;
    text-align: center;
    background: linear-gradient(135deg, #6c757d, #343a40);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
}

.dynamic-dashbord-info strong {
    font-size: 2rem;
    color: #ffc107;
}

.dynamic-dashbord-info p {
    font-size: 1.1rem;
    margin: 15px 0;
    color: #d6d6d6;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.btn {
    padding: 12px 25px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #8a232c;
    transform: translateY(-2px);
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.menu-box {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    padding: 25px;
}

.menu-item {
    background-color: #ffffff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
}

.menu-item span {
    display: block;
 
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.menu-item a {
    color: inherit;
}

/* Vendor Dashboard Button Styling */
.dynamic-dashbord-info a {
    display: inline-block;
    margin: 15px auto;
    padding: 12px 25px;
    background-color: #28a745;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dynamic-dashbord-info a:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Wholesale Form Styling */
.wholesale_customer {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

input[type="submit"] {
    padding: 12px 25px;
    background-color: #ffc107;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

input[type="submit"][disabled] {
    background-color: #6c757d;
    cursor: not-allowed;
}


@media only screen and (max-width: 480px) {
    main{
        margin-top:80px;
    }
  
  .container{
      display:block;
  }
     .sidebar {
      padding:0;
        width: 100%;
        height: 50px;
    }
  .sidebar ul {
    padding: 0 20px;
  }
  .content {
    padding: 20px;
    background-color: #fff;
  }
  .dashboard {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .menu-box {
    flex-direction: column;
  }
  .menu-item {
    
    margin-bottom: 20px;
  }
  .menu-item img {
    margin-top: 20px;
  }
  .dynamic-dashbord-info a {
    padding: 10px;
    font-size: 14px;
  }
  .my-account h1 {
    font-size: 200%;
  }
.my-account{
  height: 120px;
}
  
  
      .content {
        padding: 0;
          margin:0;
          width:100%;
      }
  
  
  }
  @media only screen and (min-width: 481px) and (max-width:768px) {
      main{
        margin-top:80px;
    }
       .sidebar {
       padding:0;
        width: 100%;
        height: 50px;
    }
  
    .container{
        display:block;
    }
    .content {
        padding: 0;
          margin:0;
          width:100%;
      }
    .sidebar ul {
      padding: 0 20px;
    }
    .content {
    
      background-color: #fff;
      padding-right:0;
    }
    .dashboard {
      margin-top: 20px;
      margin-left: 20px;
      margin-right: 20px;
    }
    .menu-box {
      flex-direction: column;
    }
    .menu-item {
      
      margin-bottom: 20px;
    }
    .menu-item img {
      margin-top: 20px;
    }
    .dynamic-dashbord-info a {
      padding: 10px;
      font-size: 14px;
    }
    .my-account h1 {
      font-size: 200%;
    }
  .my-account{
    height: 120px;
  }
    
    
    
    
    
    }
  