/* ---------- GENERAL RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #061a3a, #0b2f6b);
  color: #333;
}

/* ==========================================================
   NAVBAR STYLING
   ========================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: linear-gradient(135deg, #000a19, #00132e);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo img {
  height: 48px;
}

.center-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-nav a {
  position: relative;
  margin: 0 18px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

.center-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #4EE5C5;
  transition: width 0.3s ease;
}

.center-nav a:hover::after,
.center-nav a.active::after {
  width: 100%;
}

.center-nav a:hover,
.center-nav a.active {
  color: #4EE5C5;
}

.right-nav a {
  color: #4EE5C5;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.right-nav a:hover {
  color: #3ABAF8;
}
.right-nav .slash {
    font-weight: 600;
    background: #4EE5C5;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 4px;
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }
  .center-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .center-nav a {
    margin: 5px 10px;
  }
}

/* ---------- PAGE LAYOUT ---------- */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 140px 20px 60px; /* space for fixed navbar */
  box-sizing: border-box;
}

/* ---------- FORM CONTAINER ---------- */
.form-container {
  background: #fff;
  border-radius: 15px;
  padding: 40px 35px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.6s ease-in-out;
  text-align: center;
  margin-top: 70px;
}

.form-container h2 {
  color: #222;
  margin-bottom: 20px;
}

.form-container input,
.form-container select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.form-container input:focus,
.form-container select:focus {
  border-color: #4c6ef5;
  outline: none;
}

.form-group-flex {
  display: flex;
  gap: 10px;
}

/* ---------- BUTTON ---------- */
button {
  width: 100%;
  background: linear-gradient(135deg, #4c6ef5, #3abaf8, #4ee5c5);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: linear-gradient(135deg, #4ee5c5, #3abaf8, #4c6ef5);
}

/* ---------- MESSAGES ---------- */
.error-msg {
  background: #ffe5e5;
  color: #c0392b;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.success-msg {
  background: #e8f8ec;
  color: #27ae60;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* ---------- EXTRA LINKS ---------- */
.extra-link {
  font-size: 14px;
  margin-top: 15px;
}

.extra-link a {
  color: #4c6ef5;
  text-decoration: none;
  font-weight: 500;
}

.extra-link a:hover {
  text-decoration: underline;
}

/* ---------- ANIMATION ---------- */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .form-container {
    margin-top: 70px;
    padding: 30px 20px;
  }

  .form-group-flex {
    flex-direction: column;
  }
}
