/* Main app styles */
body {
  font-family: 'Aptos', 'Segoe UI', 'Tahoma', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

/* Camera Panel Specific Styles */
.camera-panel {
  margin-bottom: 40px;
}

header h1 {
  color: #00B0F0;
  font-family: 'Poppins Black', 'Poppins', sans-serif;
  font-weight: 900;
  border-bottom: 2px solid #00B0F0;
  padding-bottom: 10px;
  margin-top: 0;
}

.camera-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Loading states */
.loading-card, .empty-state {
  text-align: center;
  padding: 40px;
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Error message */
.error-container {
  margin-bottom: 20px;
}

.error-message {
  background-color: var(--error-color);
  color: white;
  padding: 15px;
  border-radius: var(--border-radius);
  margin: 10px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.dismiss-button {
  background-color: transparent;
  color: white;
  padding: 5px 10px;
  margin: 0;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid white;
  border-radius: var(--border-radius);
}

.dismiss-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive styling */
@media (max-width: 768px) {
  .camera-list {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
  
  header h1 {
    font-size: 1.75rem;
  }
}

/* Adding a small visual flair for focus states - accessibility improvement */
button:focus, a:focus {
  outline: 2px solid #00B0F0;
  outline-offset: 2px;
}

/* Smooth animation for transitions */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
