
/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }*/
  
  @import url(https://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
  .droid-arabic-kufi { font-family: 'Droid Arabic Kufi', serif; }

  body {
    height: 100%;
  } 
  
  .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    margin-top: 121px;
  }
  
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    margin-left: 20px;
  }
  
  nav ul li:first-child {
    margin-left: 0;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    /* background-image: linear-gradient(45deg, #56094c, #77041e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
  }
  
  nav ul li a:hover {
    background-color: #ffffff;
    color: #4b68da;
    border: 2px solid linear-gradient(45deg, #56094c, #77041e);
  }
  
  nav ul li a:focus {
    outline: none;
    background-color: #f5f5f5;
  }
  
  .main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .box {
    width: calc(33.33% - 20px);
    padding: 20px;
    background-image: linear-gradient(45deg, #56094c, #77041e);
    text-align: center;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    height: 150px;
    color: white;
  }
  
  .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
  }
  
  .box h2 {
    margin-top: 0;
  }
  
  .box p {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: bold;
    
  }
  
  .chart-container {
    justify-content: space-between;
    margin: auto;
    align-items: center;
    height: 100%;
  }
  
  canvas {
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }
  
  @media screen and (max-width: 577px) {
    .box {
      width: 100%;
      margin-bottom: 20px;
    }
    
    .header {
      flex-wrap: wrap;
    }
    
    nav ul {
      margin-top: 20px;
    }
    
    nav ul li {
      margin: 0 5px;
    }
    
    nav ul li:first-child {
      margin-left: 0;
    }
    
    nav ul li:last-child {
      margin-right: 0;
    }
  }
  
  @media screen and (max-width: 480px) {
    .box {
      width: 100%;
      margin-bottom: 20px;
    }
    
    .header {
      flex-wrap: wrap;
    }
    
    nav ul {
      margin-top: 20px;
      flex-direction: column;
    }
    
    nav ul li {
      margin: 5px 0;
    }
    
    nav ul li:first-child {
      margin-top: 0;
    }
    
    nav ul li:last-child {
      margin-bottom: 0;
    }
  }
  
  label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  input,
  .ch_btn {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .ch_btn {
    background: linear-gradient(45deg, #56094c, #77041e);
    color: #fff;
    border-image: linear-gradient(45deg, #56094c, #77041e) 1;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .ch_btn:hover {
    background-image: linear-gradient(45deg, #56094c, #77041e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 2px solid linear-gradient(45deg, #56094c, #77041e);
  }
  
  #change-email,
  #change-password,
  #change-phone {
    display: none;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideInLeft {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  .animated {
    animation-duration: 0.5s;
    animation-fill-mode: both;
  }
  
  .fadeIn {
    animation-name: fadeIn;
  }
  
  .slideInLeft {
    animation-name: slideInLeft;
  }
  
  @media only screen and (min-width: 600px) {
    header {
      padding: 1em;
    }
    input,
    .ch_btn {
      width: 80%;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    #change-email,
    #change-password,
    #change-phone {
      width: 80%;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  @media only screen and (max-width: 600px) {
    header {
      padding: 1em;
    }
    input,
    .ch_btn {
      width: 90%;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    #change-email,
    #change-password,
    #change-phone {
      width: 90%;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
  }

  .image-gallery-container {
    max-width: 760px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.image-gallery {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-height: 160px;
    margin-bottom: 10px;
}
/* Shared styles for both mobile and desktop */
    .avatar-img {
        width: 140px;
        height: 140px;
        border: 2px solid #ccc;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }



.avatar-img:hover {
    border-color: #af5700;
    /* transform: scale(1.1); */
}
#selectedAvatar {
    max-width: 200px;
    margin: 20px auto;
    border-radius: 50%;
    /* border: 4px solid #7200af; */
    box-shadow: 0 6px 11px rgba(0, 0, 0, 0.6);
}
.nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.nav-buttons button {
    background: linear-gradient(45deg, #56094c, #77041e);    color: #fff;
    border: none;
    /* border-radius: 50%; */
    /* width: 40px; */
    height: 40px; 
    width: 90%;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.2s ease;
}
.nav-buttons button:hover {
    background: linear-gradient(45deg, #56094c, #77041e);}
.nav-buttons button:disabled {
    cursor: not-allowed;
    background: #ccc;
}

.section {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .section h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
  }
  
  .section p {
    margin-top: 10px;
    color: #666;
  }
  