/* Modern red & black theme with lighter accents and animations for the peticiones panel */

/* Global styling */
body {
  /* Lighter gradient: dark red blending into near-black */
  background: radial-gradient(circle at 20% 20%, #400c13, #0d0203);
  min-height: 100vh;
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
  color: #ff4d58;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.7);
  animation: fadeInDown 0.6s ease both;
}

/* Logo */
.logo-ares {
  max-height: 80px;
  display: inline-block;
  margin-bottom: 1rem;
  animation: fadeInDown 0.7s ease both;
}

/* Cards and list container */
.card {
  background: rgba(34, 16, 19, 0.85); /* semi-dark red */
  border: 1px solid #511220;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: fadeInUp 0.6s ease both;
}

/* Buttons */
.btn-primary,
.btn-outline-light,
.btn-whatsapp {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: linear-gradient(45deg, #e22636, #7d0b14);
  border: none;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.btn-primary:hover,
.btn-primary:focus {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

.btn-outline-light {
  border: 1px solid #e22636;
  color: #f6f6f6;
  background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #e22636;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

/* WhatsApp button stylised */
.btn-whatsapp {
  background: linear-gradient(45deg, #2edc78, #11794f);
  border: none;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.6);
}

/* Inputs and textarea */
input.form-control,
textarea.form-control {
  background-color: rgba(50, 30, 35, 0.6);
  border: 1px solid #511220;
  color: #f0f0f0;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

input.form-control:focus,
textarea.form-control:focus {
  border-color: #e22636;
  box-shadow: 0 0 0 2px rgba(226, 38, 54, 0.5);
  background-color: rgba(50, 30, 35, 0.85);
  outline: none;
}

/* Movie result cards */
.selectable {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.selectable:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 16px rgba(0,0,0,0.6);
}

/* Footer tagline */
.footer {
  margin-top: 2rem;
  text-align: center;
  color: #aaa;
  font-size: 0.8rem;
  font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Overrides para los campos de usuario, WhatsApp y búsqueda */
#user.form-control,
#phone.form-control,
#query.form-control {
  background-color: #ffffff;
  color: #000000;
}

#user::placeholder,
#phone::placeholder,
#query::placeholder {
  color: #666666;
}

/* Tamaño reducido para tarjetas de pre-búsqueda */
.search-result .card-img-top {
  height: 140px;
  object-fit: cover;
}
.search-result .card-body {
  padding: 0.3rem;
}
.search-result .card-title {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}
.search-result .card-text {
  font-size: 0.7rem;
  margin-bottom: 0;
}

/* Permitir que el grupo de botones se envuelva en móviles */
.btn-group {
  flex-wrap: wrap;
}
.btn-group .btn {
  margin-bottom: 0.25rem;
}
