@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: url('../images/background.jpg') no-repeat center center / cover;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(8px);
  z-index: -1;
}

#page {
  max-width: 960px;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

#header {
  text-align: center;
  background: rgba(255, 255, 255, 0.3);
  padding: 15px;
  border-bottom: 2px solid #bd6f2f;
  border-radius: 10px;
}

#header h1 {
  font-size: 26px;
  color: #4b2e20;
  margin-bottom: 10px;
}

nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

nav a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

nav a:hover {
  background: #e0e7ff;
  color: #111827;
}

.news {
  font-size: 16px;
  color: #dc2626;
  font-weight: 600;
  margin-top: 5px;
}

.news-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 700px;
  margin: 0 auto 20px;
}

.blinking {
  font-weight: bold;
  color: #dc2626;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.news-text {
  color: #333;
  font-size: 16px;
}


.blinking-dot {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

#intro {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

#intro img {
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.intro-text {
  flex: 1;
  font-size: 16px;
  color: #333;
}

.intro-text h2 {
  color: #bd6f2f;
  margin-bottom: 10px;
}

#container {
  background: #fffefb;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

#container h3 {
  text-align: center;
  color: #222;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 600;
}

.textfield {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 15px;
  background: #f9f9f9;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #bd6f2f;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #a4521d;
}

.register-link {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

.register-link a {
  color: #1e40af;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

.dashboard-image {
  text-align: center;
  margin-top: 30px;
}

.dashboard-image img {
  width: 300px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #bd6f2f;
  text-align: center;
  margin-bottom: 20px;
}

#footer {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
  padding: 10px;
  color: #333;
  border-top: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 8px;
}

table th {
  background-color: #bd6f2f;
  color: white;
  text-align: center;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  #intro {
    flex-direction: column;
    text-align: center;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }
}
