* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

a {
  text-decoration: none;
}

body {
  background-color: #e7e7f8;
}

.navbar {
  background-color: #ffffff;
  overflow: hidden;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: black;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar h1 {
  font-size: 25px;
  color: black;
  font-weight: 500;
}

.logo {
  color: black;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo i {
  font-size: 20px;
  color: white;
  background-color: #4b4bdd;
  padding: 10px;
  border-radius: 7px;
}

.logout-button {
  align-self: center;
  background-color: #4b4bdd;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(75, 75, 221, 0.3);
  transition: all 0.3s ease;
}

.logout-button:hover {
  background-color: #3a3a9d;
  transform: scale(1.05);
}

.login-register {
    display: flex;
    align-items: center;
    gap: 15px;
}

#login {
    background-color: #4b4bdd;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(75, 75, 221, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#login:hover {
    background-color: #3a3a9d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 75, 221, 0.45);
}

#login i {
    font-size: 14px;
}

#register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#register:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

#register i {
    font-size: 14px;
}

.content {
  padding: 50px 60px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  width: 70%;
  margin: 70px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}

.welcome-message {
  margin-bottom: 30px;
  color: #333333;
  text-align: center;
}

.welcome-message h1 {
  margin-bottom: 15px;
  font-size: 36px;
}

.welcome-message p {
  font-size: 22px;
  color: #555555;
  font-weight: lighter;
}

.exam-info {
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #333333;
  background: linear-gradient(135deg, #f8f8ff 0%, #eaeafb 100%);
  padding: 20px 60px;
  border-radius: 15px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.exam-info h2 {
  margin-bottom: 22px;
  font-size: 20px;
  color: #333333;
  font-weight: 500;
}

.exam-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.icon-box {
  background-color: white;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 5px;
}

.icon-box i {
  font-size: 30px;
  color: #4b4bdd;
}

.info-value {
  font-size: 22px;
  font-weight: 500;
  color: #333333;
}

.info-label {
  font-size: 18px;
  color: #777777;
  font-weight: normal;
}

.instructions {
  color: #333333;
  background-color: white;
  padding: 35px 50px;
  border-radius: 15px;
  margin: 40px auto;
  width: 70%;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
}

.instructions h2 {
  font-size: 30px;
  margin-bottom: 40px;
  font-weight: bold;
}

.instructions ul {
  list-style-type: none;
  padding-left: 0;
  counter-reset: instruction-counter;
}

.instructions li {
  margin-bottom: 40px;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #444444;
  line-height: 1.5;
}

.instructions li::before {
  counter-increment: instruction-counter;
  content: counter(instruction-counter);
  background-color: #eaeafb;
  color: #4b4bdd;
  font-weight: bold;
  font-size: 20px;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notes {
  font-size: 18px;
  color: #7a6a00;
  width: 70%;
  margin: 20px auto 40px auto;
  line-height: 1.8;
  border: 1px solid #f0d860;
  padding: 25px 30px;
  border-radius: 12px;
  background-color: #fffde7;
}

.notes h3 {
  font-size: 25px;
  font-weight: bold;
  color: #7a6a00;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.notes ul {
  list-style-type: none;
  padding-left: 0;
}

.notes li {
  margin-bottom: 10px;
  padding-left: 15px;
  position: relative;
}

.notes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7a6a00;
}

.start-exam {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto 80px auto;
}

.start-exam span {
  font-size: 20px;
  color: #333333;
  margin-top: 20px;
  display: block;
  text-align: center;
}

.start-button {
  background-color: #4b4bdd;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 22px 35px;
  font-size: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(75, 75, 221, 0.3);
  transition: all 0.3s ease;
}

.start-button:hover {
  background-color: #3a3a9d;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .exam-details {
    flex-direction: column;
  }
}
