/* Custom Styling for Android Lab 07 */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.brand-tab.active {
  background-color: #10b981;
  color: #022c22;
  font-weight: 700;
}

.dev-tab.active {
  color: #34d399;
  border-bottom: 2px solid #34d399;
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Phone screen transitions */
#phone-screen {
  background: radial-gradient(circle at top left, #1e293b, #0f172a);
  user-select: none;
}

/* Quiz Option States */
.quiz-opt.selected-correct {
  background-color: rgba(16, 185, 129, 0.15) !important;
  border-color: #10b981 !important;
  color: #a7f3d0 !important;
}

.quiz-opt.selected-wrong {
  background-color: rgba(239, 68, 68, 0.15) !important;
  border-color: #ef4444 !important;
  color: #fca5a5 !important;
}

/* Smooth fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Print Styles for Lab Report */
@media print {
  body * {
    visibility: hidden;
  }
  #checklist, #checklist * {
    visibility: visible;
  }
  #checklist {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: white !important;
    color: black !important;
  }
}
