/* ================
   Global Styling
================ */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  color: #333;
  line-height: 1.6;
}

.container {
  margin-top: 80px;
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
  max-width: 850px;
}

.container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header img {
  max-width: 180px;
  animation: floatLogo 3s ease-in-out infinite;
}

header h1 {
  color: #FE0000;
  margin-top: 15px;
  font-weight: 700;
}

footer {
  margin-top: 50px;
  text-align: center;
  color: #6c757d;
  font-size: 0.85rem;
}

/* ================
   Form Controls
================ */
input[type="email"] {
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}

button.btn-danger {
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease-in-out;
}

button.btn-danger:hover {
  background-color: #c82333;
}

#loader {
  display: none;
}

/* ================
   Card Feedback
================ */
.card {
  border: none;
  border-radius: 1rem;
  background-color: #fdfdfd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-top: 30px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-header {
  background-color: #dc3545;
  color: #fff;
  font-weight: 600;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.card-body {
  padding: 2rem;
}

.card-body h6 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #495057;
}

.card-body p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1.2rem;
  white-space: pre-line;
}

/* ================
   Loader Animation
================ */
@keyframes floatLogo {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* ================
   Responsive
================ */
@media (max-width: 768px) {
  .container {
    padding: 25px;
    margin-top: 60px;
  }

  header img {
    max-width: 150px;
  }

  header h1 {
    font-size: 1.5rem;
  }

  footer {
    font-size: 0.75rem;
  }

  .card-body {
    padding: 1.2rem;
  }

  .card-body h6 {
    font-size: 0.95rem;
  }

  .card-body p {
    font-size: 0.9rem;
  }
}
