/* Жалпы фон және қаріп */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #fce4ec);
  margin: 0;
  padding: 0;
  color: #333;
}

/* Навигация */
nav {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s;
}

nav a.active, nav a:hover {
  background: #ffc107;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Контейнер */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease-in-out;
}

/* Тақырып */
h1 {
  text-align: center;
  color: #1e3c5a;
  margin-bottom: 25px;
  font-size: 2rem;
  position: relative;
}

h1::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #ffc107;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Формалар */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  font-weight: 600;
  color: #1e3c72;
}

form select, form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s;
}

form select:focus, form input:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 6px rgba(30,60,114,0.4);
  outline: none;
}

button {
  padding: 12px 20px;
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #ffc107;
  color: #000;
  transform: scale(1.05);
}

/* Кесте */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: 14px 16px;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 1rem;
}

th {
  background: linear-gradient(90deg, #1e3c72, #2a5298);
  color: #fff;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background: #f1f8ff;
  transition: 0.3s;
}

/* GPA Box */
.gpa-box {
  text-align: right;
  font-size: 1.2rem;
  font-weight: bold;
  color: #1e3c5a;
  margin-top: 20px;
  border-top: 2px solid #ccc;
  padding-top: 12px;
}

/* Анимация */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
