@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes progressFill {
  from { width: 0; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes firework {
  0% { transform: scale(0.2); opacity: 0; }
  15% { opacity: 1; }
  60% { opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.animate-slideUp { animation: slideUp 0.6s ease-out forwards; }
.animate-fadeIn { animation: fadeIn 0.4s ease-out forwards; }
.animate-progress { animation: progressFill 1s ease-out forwards; }
.animate-pulse-hover:hover { animation: pulse 0.3s ease-in-out; }
.gradient-tvs {
  background: linear-gradient(135deg, #E85D04 0%, #FAA307 50%, #DC2F02 100%);
}
.gradient-tvs-light {
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.1) 0%, rgba(250, 163, 7, 0.1) 100%);
}
.card-shadow {
  box-shadow: 0 4px 20px rgba(232, 93, 4, 0.15);
}
.card-shadow-hover:hover {
  box-shadow: 0 8px 30px rgba(232, 93, 4, 0.25);
  transform: translateY(-2px);
}
.shimmer-bg {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.progress-bar {
  transition: width 1s ease-out;
}
.tab-active {
  background: linear-gradient(135deg, #E85D04 0%, #FAA307 100%);
  color: white;
}
.modal-overlay {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
input[type="file"]::-webkit-file-upload-button {
  background: linear-gradient(135deg, #E85D04 0%, #FAA307 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 500;
}
.celebration-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 9999px;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
}
.firework-burst {
  position: absolute;
  border-radius: 9999px;
  mix-blend-mode: screen;
  opacity: 0;
  animation: firework 3.2s ease-out infinite;
}
.firework-burst-1 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.95), transparent 60%);
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.8);
  left: 18%;
  top: 26%;
  animation-delay: 0s;
}
.firework-burst-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249, 168, 212, 0.95), transparent 60%);
  box-shadow: 0 0 25px rgba(244, 114, 182, 0.8);
  right: 15%;
  top: 20%;
  animation-delay: 0.6s;
}
.firework-burst-3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.95), transparent 60%);
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
  left: 22%;
  bottom: 18%;
  animation-delay: 1.2s;
}
.firework-burst-4 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.95), transparent 60%);
  box-shadow: 0 0 25px rgba(45, 212, 191, 0.8);
  right: 22%;
  bottom: 15%;
  animation-delay: 1.8s;
}
.toast {
  animation: slideUp 0.3s ease-out;
}
body { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Be Vietnam Pro", sans-serif; }
.btn-ios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-weight: 600;
  transition: all .2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.btn-ios:hover { background: #f9fafb; border-color: #d1d5db; }
.btn-ios:active { transform: translateY(1px); }
.btn-ios-primary {
  background: linear-gradient(135deg, #E85D04 0%, #FAA307 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px rgba(232,93,4,0.25);
}
.btn-ios-primary:hover { filter: brightness(0.98); }
.btn-ios-primary:active { transform: translateY(1px); }

.admin-sidebar-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  color: #4b5563; /* text-gray-600 */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}
.admin-sidebar-btn:hover {
  background-color: #f9fafb; /* text-gray-50 */
  color: #111827; /* text-gray-900 */
}
.admin-sidebar-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.admin-sidebar-btn span {
  white-space: nowrap;
}

.tvs-navbar {
  height: 56px;
  display: flex;
  align-items: center;
}
.tvs-navbar__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tvs-navbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.tvs-navbar__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.tvs-navbar__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.tvs-navbar__school {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tvs-navbar__tagline {
  font-size: 11px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tvs-navbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tvs-navbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}
.tvs-navbar__badgeText {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tvs-navbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: tvsDotPulse 1.2s ease-in-out infinite;
}
@keyframes tvsDotPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65); opacity: 0.85; }
  50% { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); opacity: 1; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); opacity: 0.85; }
}
@media (max-width: 640px) {
  .tvs-navbar__tagline { display: none; }
  .tvs-navbar__logo { width: 36px; height: 36px; }
}
