body {
    background: #f2f4f7;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  /* כותרת ראשית */
  .title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  /* עיצוב כפתורים כללי */
  .btn {
    border-radius: 12px;
  }
  
  /* כפתור כחול ראשי */
  .btn-primary {
    background-color: #0066ff;
    border-color: #0066ff;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  /* כפתור ירוק להרשמה */
  .btn-success {
    background-color: #22bb66;
    border-color: #22bb66;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 10px;
  }
  
  /* כרטיס התחברות/הרשמה */
  .login-card, .form-card {
    background: #f2f4f7;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 10px 10px 20px #d9dce1, -10px -10px 20px #ffffff;
    width: 100%;
    max-width: 400px;
  }
  
  /* קונטיינר מרכזי */
  .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px);
  }
  
  /* כותרת טופס */
  .form-title {
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 1.5rem;
  }
  
  /* קופסת תפקידים בדף הראשי */
  .card-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .card-box {
    width: 220px;
    height: 220px;
    background: #f2f4f7;
    border-radius: 25px;
    box-shadow: 10px 10px 20px #d9dce1, -10px -10px 20px #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
  }
  
  .card-box:hover {
    transform: translateY(-5px);
    box-shadow: inset 5px 5px 10px #d1d4d9, inset -5px -5px 10px #ffffff;
  }
  .modal-header {
    justify-content: space-between;
  }
  .modal-header .btn-close {
    padding: 0;
    margin: 0;
  } 


  #categoryForm  .form-check {
    display: inline-block;
    margin-inline-end: 20px;
  }

  @media (min-width: 769px) {
    main.container {
      min-height: calc(100vh - 150px) !important;
    }
   
  }
 @media (max-width: 769px) {
  h1.h5.m-0 {
        font-size: 1.0rem;
      }
 }

  #error-msg {
    transition: opacity 0.5s;
  }

  #msg {
    opacity: 1;
    transition: opacity 0.5s;
  }
  img.logoc {
    max-width: 100px;
    margin-inline-end: 10px;

  }
