/* Common admin styles */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
  font-family: 'Orbitron', Arial, sans-serif;
  background: linear-gradient(135deg, #070b34, #1e2131);
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

.admin-navbar {
  background: rgba(0, 0, 0, 0.8);
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #00eaff;
  box-shadow: 0 2px 10px rgba(0, 234, 255, 0.2);
}

.admin-navbar a {
  color: #00eaff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0, 234, 255, 0.6);
  transition: color 0.3s;
}

.admin-navbar a:hover {
  color: #00ffff;
}

.container, .dashboard, .add-wine-container, .login-box {
  max-width: 800px;
  margin: 60px auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.15);
  border: 1px solid #00eaff;
}

.login-box {
  max-width: 400px;
  height: auto;
}

h1, h2 {
  text-align: center;
  color: #00eaff;
  text-shadow: 0 0 8px rgba(0, 234, 255, 0.6);
}

.button-group a, .button-group button, button {
  margin: 10px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #00eaff, #0066ff);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.3);
  transition: background 0.3s, transform 0.3s;
}

.button-group a:hover, .button-group button:hover, button:hover {
  background: linear-gradient(90deg, #00ffff, #0088ff);
  transform: scale(1.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

th {
  background: rgba(0, 234, 255, 0.2);
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.status {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #555;
}

.warning {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff5555;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.chart-container {
  position: relative;
  margin: 20px auto;
  max-width: 700px;
}

/* Keyboard focus styles */
.admin-navbar a:focus,
button:focus,
.button-group a:focus,
.button-group button:focus {
  outline: 2px dashed #00eaff;
  outline-offset: 2px;
/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
