*{
      box-sizing:border-box;
  }
    body {
      padding-top: 70px;
      margin: 0;
      font-family: sans-serif;
      background-color: #fff2ef;
    }

    header{
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 9999;
      background-color: #000080;
      padding: 5px;
      border-bottom: 4px solid #007acc;
    }
    
    .select {
        width: 100%;
        padding: 10px;
        margin: 8px 0;
        border: 1px solid #ddd;
        border-radius: 6px;
        background-color: rgba(255,255,255,0.9);
        color: #000;
        font-size: 16px;
}

    /* آیکون منو */
    .menu-icon {
      width: 25px;
      height: 20px;
      margin: 15px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
    }

    .menu-icon span {
      width: 100%;
      height: 5px;
      background: white;
      border-radius: 5px;
    }

    /* منوی اصلی */
    .sidebar {
    position: fixed;
    top: 0;
    right: 0; 
    width: 50%; 
    max-width: 100%;
    height: 100%;
    background: white;
    box-shadow: -3px 0 10px rgba(0,0,0,0.2);
    display: flex; /* همیشه flex باشه ولی با transform حرکت می‌کنه */
    flex-direction: column;
    padding: 20px;
    z-index: 999;
    transform: translateX(100%); /* اول کاملاً بیرونه */
    transition: transform 0.25s ease; /* حرکت نرم */
    }
    
    .sidebar.open {
        transform: translateX(0); /* باز شدن نرم */
    }
    
    .sidebar.closing {
        transform: translateX(100%); /* بسته شدن نرم */
    }

    .Menu , #account{
      text-decoration: none;
      font-size: 16px;
      margin: 10px 0;
      color: #333;
      padding: 10px;
      border-radius: 10px;
      transition: 0.15s;
    }

    .Menu:hover , #account:hover{
      background: #eee;
    }

    /* دکمه بستن منو - اندازه و ظاهر بهتر */
    .close-btn {
      align-self: flex-end;
      font-size: 16px;
      cursor: pointer;
      margin-bottom: 12px;
      padding: 8px 14px;
      border-radius: 8px;
      border: none;
      background: red;
      box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }
    .close-btn:hover { transform: translateY(-1px); }