/* ====== home Styling ====== */

.choice-container {
  margin: 60px auto;
  max-width: 500px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);

}

.choice-container h2 {
  margin-bottom: 20px;
  color: #179cc7;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn {
  display: block;
  text-decoration: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s;
}

.btn.student {
  background-color: #179bc7c5;
  color: white;
}

.btn.student:hover {
  background-color: #179bc7;
}

.btn.teacher {
  background-color: #fed317;
  color: #333;
}

.btn.teacher:hover {
  background-color: #e0a800;
}
__________________________________________________

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f6f8;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center; /* لإظهار المحتوى وسط الصفحة عموديًا */
}

.logo {
  width: 100px;
  margin-bottom: 10px;
}

h1 {
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
}

.teacher-link {
  margin: 40px 0;
  padding: 12px 20px;
  background-color: #f1c40f;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.teacher-link:hover {
  background-color: #d4ac0d;
}

--------------------------------------------
/* ====== student login Styling ====== */

.header {
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 30px;
}

.logo {
  width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  border-radius: 20px;
}

h1 {
  margin: 0;
  font-size: 24px;
}

.login-box {
  display: grid;
  margin: 50px auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 600px;
/*   text-align: center;
 */}

.login-box input {
  padding: 10px;
  width: auto;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.SLoginBTN {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 30px;
}

.SLoginBTN:hover {
  background-color: #218838;
}


----------------------------------------

.break {
  background-color: #f4f4f4;
  text-align: center;
  font-weight: bold;
  color: #777;
}

----------------------------
/* ====== Grade Schedule Styling ====== */
      
        h3 {
            color: #2c3e50;
            text-align: center;
        }
        h2 {
            color: #053e50;
            text-align: center;
        }
/*         .T-container{
          max-width: 900px;
            margin: 0 auto;
            padding:20px;
            box-sizing: border-box;
        } */

        .grade-section .table-section{
         margin-bottom: 40px;
 
        }
        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            margin-top: 10px;
        }
        th, td {
            padding: 12px;
            border: 1px solid #ccc;
            text-align: center;
        }
        th {
            background-color: #3498db;
            color: white;
        }
        .join-online {
            background-color: #2ecc71;
            color: white;
            border: none;
            padding: 8px 14px;
            border-radius: 6px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        /* تأثير LIVE */
        .live-now .join-online {
            border: 2px solid red;
            box-shadow: 0 0 10px red;
            animation: pulse 1s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 5px red; }
            50% { box-shadow: 0 0 15px red; }
            100% { box-shadow: 0 0 5px red; }
        }
        /* أيقونة LIVE */
        .live-indicator {
            display: none;
            font-size: 12px;
            color: red;
            font-weight: bold;
            animation: blink 1s infinite;
        } 
        .live-now .live-indicator {
            display: inline;
        }
        @keyframes blink {
            0% { opacity: 0; }
            50% { opacity: 1; }
            100% { opacity: 0; }
        }
        /* حصص انتهت */
        .past-class {
            opacity: 0.6;
            pointer-events: none;
        }
        .not-online {
            background-color: #ff9b3756;
            color: rgb(151, 103, 0);
            border: none;
            padding: 8px 14px;
            border-radius: 6px;
        }
        @media (max-width: 768px) {
  .T-container {
    padding: 0 10px;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 8px 6px;
    font-size: 14px;
  }
}

        ---------------------------------------
        /* Select grade styling */

.main-container {
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  text-align: center;
}

    body {
      font-family: 'Segoe UI', Tahoma, sans-serif;
      background-color: #f7f9fc;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      margin: 0;
      padding: 20px;
    }
    .logo img {
      max-width: 130px;
      margin-bottom: 15px;
    }
    h1 {
      color: #2c3e50;
      font-size: 1.8rem;
      margin-bottom: 25px;
      text-align: center;
    }
    .grade-section {
      background: #ffffff;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      margin: 15px 0;
      padding: 20px;
/*       width: 90%;
 */      max-width: 600px;
      border: 1px dashed #007b83;
    }
    .table-section{
    width: 90%;
    }
    .section-title {
      font-size: 1.2rem;
      font-weight: 600;
      color: #007b83;
      margin-bottom: 15px;
      text-align: center;
      border-bottom: 2px solid #e6e6e6;
      padding-bottom: 5px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .grade-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 12px;
    }
    .grade-card {
      background-color: #007b83;
      border: 1px solid #d0e0e0;
      border-radius: 8px;
      padding: 12px 0;
      text-align: center;
      font-weight: 600;
      font-size: 1rem;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
    }
    .grade-card:hover {
      background-color: #f0f7f7;
      color: #005d63;
      transform: translateY(-3px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    footer {
      margin-top: 25px;
      font-size: 0.9rem;
      color: #7f8c8d;
    }



    .grade-btn {
      background-color: #007b83;
      border: 1px solid #d0e0e0;
      border-radius: 8px;
      padding: 12px 0;
      text-align: center;
      font-weight: 600;
      font-size: 1rem;
      color: white;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
    }
    .grade-btn:hover {
      background-color: #f0f7f7;
      color: #005d63;
      transform: translateY(-3px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }