/* ------------------------------ Shadows ----------------------------- */
.card-shadow {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.form-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ------------------------------ Animations ------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* ------------------------------ Card hover ------------------------- */
#card {
  transition: all 0.3s ease;
}
#card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.08);
}

/* ------------------------------ Preview gradient ------------------- */
.preview-gradient {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* ------------------------------ Logo scaling ----------------------- */
.logo-container {
  width: 100%;
  height: 60px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#card-logo {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* ------------------------------ Card layout ----------------------- */
#card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  text-align: center;
}

.card-header {
  flex-shrink: 0;
  margin-bottom: 12px;
}

.card-content {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.card-footer {
  flex-shrink: 0;
  margin-top: 12px;
}

/* ------------------------------ Responsive text ------------------- */
.airline-text {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.2;
  margin-bottom: 4px;
}

.aircraft-text {
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.3;
  margin-bottom: 2px;
}

.nickname-text {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-style: italic;
  margin-top: 4px;
  opacity: 0.8;
}

/* ------------------------------ Mobile improvements --------------- */
@media (max-width: 768px) {
  .card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  #card:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}