:root {
  --dark-blue: #1a3e6a;
  --green: #4caf50;
  --light-blue: #64b5f6;
  --light-gray: #f5f5f5;
  --danger: #e53935;
  --background: #f5f5f5;
  --text: #1a3e6a;
  --card: #fff;
}

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

body {
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER STYLES */
.header {
  background: var(--dark-blue);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
}

.logo-container:hover {
  opacity: 0.9;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-name {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

.nav-buttons {
  display: flex;
  gap: 12px;
}

.nav-btn {
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 25px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 25px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    min-height: 40px;
    box-sizing: border-box;
}

.nav-btn i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nav-btn:hover {
  background: white;
  color: var(--dark-blue);
}

.nav-btn.login {
  background: var(--green);
  border-color: var(--green);
}

.nav-btn.login:hover {
  background: #3d8c40;
  border-color: #3d8c40;
  color: white;
}

.btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  font-weight: normal;
  cursor: pointer;
  transition: .3s;
  background: var(--dark-blue);
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
}

.btn:hover {
  background: var(--light-blue);
}

.btn.danger {
  background: var(--danger);
}

.btn.logout {
  background: var(--green);
}

.alert {
  margin: 15px auto;
  padding: 12px 20px;
  width: 100%;
  text-align: center;
  border: 1px solid #e74c3c;
  border-radius: 8px;
  background-color: #f8d7da;
  color: #721c24;
  font-weight: 500;
}

.main-content {
  flex: 1;
  padding: 2rem;
}

@media (max-width: 768px) {
  .header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-buttons {
    width: 100%;
    justify-content: center;
  }
  
  .nav-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  .btn {
    padding: 6px 10px;
    font-size: 0.95rem;
  }
  
  body {
    font-size: 0.98rem;
  }
  
  .nav-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .nav-btn {
    width: 100%;
    text-align: center;
  }
}

.register-link {
  text-align: center;
  margin-top: 1.5rem;
}

.register-link a {
  color: var(--light-blue);
  text-decoration: none;
  font-weight: 600;
}

.register-link a:hover {
  text-decoration: underline;
}