body { font-family: 'Segoe UI', Arial, sans-serif; margin: 0; background: linear-gradient(120deg, #f6d365 0%, #fda085 100%); min-height: 100vh; }
body.login-bg {
  background: url('/public/img/arsu2.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}
body.login-bg::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(102, 126, 234, 0.5);
  z-index: 0;
}
.login-container { position: relative; z-index: 1; }
.sidebar { width: 220px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; position: fixed; height: 100%; top: 0; left: 0; box-shadow: 2px 0 10px #0002; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { padding: 22px 20px; }
.sidebar ul li a { color: #fff; text-decoration: none; display: block; font-weight: 500; border-radius: 6px; transition: background 0.2s; }
.sidebar ul li a:hover { background: #fff2; }
.main-content { margin-left: 240px; padding: 40px 24px; }
body.dashboard-bg {
  background: url('/public/img/arsuimg.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}
body.dashboard-bg::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.7);
  z-index: 0;
}
.main-content, .dashboard-cards { position: relative; z-index: 1; }
.dashboard-cards { display: flex; gap: 24px; margin-bottom: 36px; }
.card { background: linear-gradient(120deg, #89f7fe 0%, #66a6ff 100%); padding: 36px; border-radius: 16px; box-shadow: 0 4px 16px #0001; font-size: 1.3em; min-width: 200px; color: #333; font-weight: 600; transition: transform 0.15s; }
.card:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 8px 24px #0002; }
table { width: 100%; border-collapse: separate; border-spacing: 0 8px; background: none; margin-top: 24px; }
table th, table td { padding: 14px 12px; border: none; text-align: left; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px #0001; }
table th { background: #667eea; color: #fff; font-weight: 600; }
table tr { transition: box-shadow 0.2s; }
table tr:hover td { box-shadow: 0 4px 16px #764ba233; }
.btn { display: inline-block; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 10px 22px; border-radius: 6px; text-decoration: none; margin-bottom: 12px; font-weight: 500; box-shadow: 0 2px 8px #764ba233; border: none; transition: background 0.2s, transform 0.15s; cursor: pointer; }
.btn:hover { background: linear-gradient(90deg, #764ba2 0%, #667eea 100%); transform: scale(1.04); }
form input, form textarea, form select { width: 100%; padding: 10px; margin: 10px 0 18px 0; border: 1px solid #ccc; border-radius: 6px; box-shadow: 0 1px 4px #0001; font-size: 1em; }
form button { background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%); color: #fff; border: none; padding: 12px 24px; border-radius: 6px; cursor: pointer; font-weight: 600; box-shadow: 0 2px 8px #185a9d33; transition: background 0.2s, transform 0.15s; }
form button:hover { background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%); transform: scale(1.04); }
.login-container h2 { margin-bottom: 24px; color: #764ba2; }
.error { color: #fff; background: #dc3545; padding: 12px; border-radius: 6px; margin-bottom: 12px; text-align: center; font-weight: 500; }
img { border-radius: 8px; box-shadow: 0 2px 8px #0001; }
@media (max-width: 800px) {
  .sidebar { position: static; width: 100%; height: auto; }
  .main-content { margin-left: 0; padding: 12px; }
  .dashboard-cards { flex-direction: column; gap: 12px; }
}
