:root {
  --primary: #211B70; /* Dark Blue */
  --accent: #E36D00;  /* Orange/Red */
  --bg: #FFBF00;      /* Main Background Gold */
  --text: #211B70;    /* Dark Blue text for high contrast */
  --white: #ffffff;
  --gray: #e0e0e0;
  --success: #4caf50;
  --error: #dc3545;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative; /* required for pseudo absolute positioning */
  z-index: 1;
}

/* --- GLOBAL WATERMARK --- */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/logo_transparent.png');
  background-repeat: repeat;
  background-size: 150px;
  opacity: 0.05; /* Extremely subtle and dispersed */
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(33, 27, 112, 0.15); /* Soft dark blue shadow */
  border: 1px solid rgba(255,255,255,0.4);
}

h1, h2, h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.logo-wrapper {
  position: relative;
  width: 100%;
  height: 100px; /* Fixed height forces absolute clipping of transparent padding */
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  position: absolute;
  height: 380px; /* Hyper-scale the image inside the hidden wrapper */
  pointer-events: none;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(227, 109, 0, 0.3); /* Glowing orange shadow */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 109, 0, 0.4);
  background: #cc6200; /* Slightly darker orange on hover */
}

.btn:disabled {
  background: var(--gray);
  cursor: not-allowed;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: 6px;
  font-size: 16px;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
}

.error-text {
  color: var(--error);
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* --- STUDENT ANIMATIONS --- */
.card {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(33, 27, 112, 0.15);
  border: 1px solid rgba(255,255,255,0.4);
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
