
/* Tenant home style (index) */
.text-gradient {
    background: linear-gradient(to right, #0056b3, #00c6ff);
    -webkit-text-fill-color: transparent;
}

.btn-gradient {
    background: linear-gradient(45deg, #0056b3, #00c6ff);
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(45deg, #004080, #00aaff);
    transform: scale(1.05);
}

.card-year {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("/static/images/illustrations/school_year.png");
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-height: 280px;
    transition: transform 0.3s ease;
    padding: 1.5rem;
}

.card-year:hover {
    transform: translateY(-5px);
}

.card-year .card-body {
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.card-year.card-active {
    border: 2px solid #00c6ff;
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.5);
}

/* Style pour le card de classes */
.card-classroom {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("/static/images/illustrations/classroom3.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  min-height: 280px;
  transition: transform 0.3s ease;
  padding: 1.5rem;
}

.card-classroom:hover {
  transform: translateY(-5px);
}

.card-classroom .card-body {
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* Styles pour classe details */
.card-stats {
  background: linear-gradient(rgba(13, 110, 253, 0.7), rgba(0, 198, 255, 0.7)),
    url("/static/images/illustrations/classroom3.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.card-stats:hover {
  transform: translateY(-5px);
}

/* Styles appliquées à la page student_listes */

.student-row:hover {
  background-color: #f0f8ff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.student-link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.student-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.table thead th {
  vertical-align: middle;
}

.table tbody td {
  vertical-align: middle;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*                         Styles pour les carte de student_detail                  */
.card-id {
    width: 400px;
    margin: 2rem auto;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
.header {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo {
    height: 60px;
}
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    object-fit: cover;
}
.details {
    margin-top: 1rem;
}
.details h2 {
    margin: 0;
    font-size: 22px;
}
.bulletins {
    margin-top: 2rem;
}
.bulletins ul {
    padding: 0;
    list-style: none;
}

