/* ---------- Iransans (use absolute paths that match your StaticFiles mount) ---------- */
@font-face {
    font-family: 'Iransans';
    src: url('/ui/CSS/fonts/Iransans.woff2') format('woff2'),
         url('/ui/CSS/fonts/Iransans.woff') format('woff'),
         url('/ui/CSS/fonts/Iransans.ttf') format('truetype'),
         url('/ui/CSS/fonts/Iransans.eot?#iefix') format('embedded-opentype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
  }


  
  @font-face {
    font-family: 'Iransans-Bold';
    src: url('/ui/CSS/fonts/Iransans-Bold.eot?#') format('eot'), /* IE6–8 */ 
	     url('/ui/CSS/fonts/Iransans-Bold.woff') format('woff'),     /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ 
	     url('/ui/CSS/fonts/Iransans-Bold.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
  }


  @font-face {
    font-family: 'Iransans-Light';
    src: url('/ui/CSS/fonts/Iransans-Light.eot?#') format('eot'), /* IE6–8 */ 
         url('/ui/CSS/fonts/Iransans-Light.woff') format('woff'),   /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ 
		 url('/ui/CSS/fonts/Iransans-Light.ttf') format('truetype'); /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
  }
  


  body {
    margin: 0;
    font-family: 'Iransans';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* ----- Header/Navbar ----- */
  header {
    background: #993366;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start; /* متن و لوگو از سمت راست شروع میشن */
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    gap: 15px;
  }

  header img {
    height: 60px;
    width: 60px;
    border-radius: 8px; /* آرم مربعی با گوشه کمی گرد */
  }

  /* ----- Main Content ----- */
  main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 60px;
  }

  .system-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
  }

  .buttons-container {
    display: flex;
    gap: 20px;
  }

  .system-btn {
    flex: 1; /* همه دکمه‌ها عرض مساوی می‌گیرن */
    min-width: 215px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #f9ecf2;
    border: 0px solid #f9ecf2;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 12px;
    text-align: center;
    white-space: normal; /* اجازه بده متن چند خطی بشه */
  }


  .system-btn:hover {
    background: #993366;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }

  .system-btn i {
    font-size: 55px;			  
    padding: 10px;
    border-radius: 8px; /* مربعی */
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .system-btn span {
      font-family: 'Iransans';            /* فونت دلخواه شما */
      font-size: 14px;                    /* اندازه فونت */
      font-weight: bold;                  /* ضخامت فونت */
      color: #000;                        /* رنگ فونت */
      text-align: center;                 /* وسط چین کردن متن */
  }


  .system-btn:hover span { 
    color: #fff; 
  }

  /* ----- Footer ----- */
  footer {
    background: #993366;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-family: 'Iransans-Light';
  }

  /* ----- Responsive Design ----- */
  @media (max-width: 600px) {
    .system-btn {
      font-size: 16px;
      padding: 15px;
      min-width: 160px;
      min-height: 100px;
    }
    .system-btn i {
      font-size: 32px;
      width: 40px;
      height: 40px;
    }

    h2 {
        font-size: 5vw;
    }
  }






