/* camp-deploy/public/css/youth-camp.css */

/* -------------------------------------------------------------------------- */
/* ## Youth Camp Registration Page Specific Styles                           */
/* -------------------------------------------------------------------------- */

/* General Page Styles */
.youth-camp-page {
  background-color: #f8f9fa;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.youth-camp-page main {
  flex: 1;
  padding-top: 50px;
}

/* Header Styles */
.youth-camp-header {
  background: linear-gradient(135deg, #7c1963, #9a3d81);
  color: white;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.youth-camp-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(182, 11, 19, 0.05) 0%,
      transparent 60%
    );
  opacity: 0.8;
}

.youth-camp-header h1 {
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

.youth-camp-header .lead {
  font-weight: 650;
  font-size: 1.5rem;
  position: relative;
  margin-bottom: -10px;
  padding-bottom: -10px;
}

/* Card Styles */
.youth-camp-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youth-camp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.youth-camp-card-header {
  background-color: white;
  color: #7c1963;
  font-weight: 600;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Form Styles - Focused on Camp Registration Form Text */
.youth-camp-form .form-label {
  font-weight: 600;
  color: #000;
}

.youth-camp-form .form-control {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: #000;
}

.youth-camp-form .form-control:focus {
  border-color: #7c1963;
  box-shadow: 0 0 0 0.25rem rgba(124, 25, 99, 0.25);
}

.youth-camp-form .invalid-feedback {
  color: #dc3545;
  font-size: 0.9rem;
}

.youth-camp-form .form-text {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.drop-paste-zone {
  border: 2px dashed #007bff;
  padding: 2rem;
  text-align: center;

  background-color: #f8f9fa;
  transition: all 0.2s ease-in-out;
  min-height: 120px;
}

.drop-paste-zone.highlight {
  border-color: #28a745;
  background-color: #e6ffe6;
}

.drop-paste-zone .browse-link {
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.drop-paste-zone .browse-link:hover {
  color: #0056b3 !important;
}

.youth-camp-donation-prompt-prominent {
  background-color: #fff;
  border-top: 4px solid #7c1963;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.youth-camp-donation-prompt-prominent:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.youth-camp-donation-prompt-prominent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(154, 61, 129, 0.05) 0%,
    transparent 30%
  );
}

.youth-camp-donation-icon {
  animation: pulse 2s infinite;
}

.youth-camp-donation-benefits .list-group-item {
  border-left: none;
  border-right: none;
  padding-left: 0;
  transition: all 0.2s ease;
}

.youth-camp-donation-benefits .list-group-item:hover {
  background-color: rgba(124, 25, 99, 0.05);
}

.youth-camp-donation-benefits .list-group-item:first-child {
  border-top: none;
}

.youth-camp-donation-benefits .list-group-item:last-child {
  border-bottom: none;
}

.youth-camp-donation-cta {
  border-left: 4px solid #7c1963;
  position: relative;
  transition: all 0.3s ease;
}

.youth-camp-donation-cta:hover {
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.youth-camp-account-number {
  color: #7c1963;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.youth-camp-account-number:hover {
  color: #9a3d81;
  text-decoration: underline;
}

.youth-camp-account-number::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7c1963;
  transition: width 0.3s ease;
}

.youth-camp-account-number:hover::after {
  width: 100%;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-number-clickable {
  color: #7c1963;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.account-number-clickable:hover {
  color: #9a3d81;
  text-decoration: underline;
}

.account-number-clickable::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7c1963;
  transition: width 0.3s ease;
}

.account-number-clickable:hover::after {
  width: 100%;
}

/* Button Styles */
.youth-camp-btn-primary {
  background-color: #7c1963;
  border-color: #7c1963;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.youth-camp-btn-primary:hover {
  background-color: #6a1554;
  border-color: #6a1554;
  transform: translateY(-2px);
}

.youth-camp-btn-outline {
  background-color: transparent;
  border-color: #7c1963;
  color: #7c1963;
  font-weight: 600;
}

.youth-camp-btn-outline:hover {
  background-color: #7c1963;
  color: white;
}

/* Success Message */
.youth-camp-success-message {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .youth-camp-header {
    padding: 1.5rem 0;
  }

  .youth-camp-header h1 {
    font-size: 2rem;
  }

  .youth-camp-card {
    border-radius: 8px;
  }
}

/* -------------------------------------------------------------------------- */
/* ## Dark Mode Styles                                                      */
/* -------------------------------------------------------------------------- */
[data-bs-theme="dark"] .youth-camp-page {
  background-color: #121212;
  color: #e0e0e0;
}

[data-bs-theme="dark"] .youth-camp-header {
  background: linear-gradient(135deg, #5a1349, #7c1963);
}

[data-bs-theme="dark"] .youth-camp-card {
  background-color: #1e1e1e;
  border-color: #444;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .youth-camp-card-header {
  background-color: #2c2c2c;
  color: #c298b7;
  border-bottom-color: #444;
}

/* Dark Mode Form Styles - Camp Registration Form Text */
[data-bs-theme="dark"] .youth-camp-form .form-label {
  color: #fff;
}

[data-bs-theme="dark"] .youth-camp-form .form-control {
  background-color: #2c2c2c;
  border-color: #444;
  color: #fff;
}

[data-bs-theme="dark"] .youth-camp-form .form-control:focus {
  border-color: #9a3d81;
  box-shadow: 0 0 0 0.25rem rgba(154, 61, 129, 0.25);
}

[data-bs-theme="dark"] .youth-camp-form .invalid-feedback {
  color: #ff8a80;
}

[data-bs-theme="dark"] .youth-camp-form .form-text {
  color: #a0a0a0;
}

[data-bs-theme="dark"] .drop-paste-zone {
  border: 2px dashed #4e92ff;
  background-color: #343a40;
}

[data-bs-theme="dark"] .drop-paste-zone.highlight {
  border-color: #20c997;
  background-color: #1a4a3e;
}

[data-bs-theme="dark"] .drop-paste-zone .browse-link:hover {
  color: #72a9ff !important;
}

[data-bs-theme="dark"] .youth-camp-btn-primary {
  background-color: #9a3d81;
  border-color: #9a3d81;
}

[data-bs-theme="dark"] .youth-camp-btn-primary:hover {
  background-color: #8a2d71;
  border-color: #8a2d71;
}

[data-bs-theme="dark"] .youth-camp-btn-outline {
  border-color: #9a3d81;
  color: #9a3d81;
}

[data-bs-theme="dark"] .youth-camp-btn-outline:hover {
  background-color: #9a3d81;
  color: white;
}

/* -------------------------------------------------------------------------- */
/* ## Utility Classes                                                       */
/* -------------------------------------------------------------------------- */
.youth-camp-text-primary {
  color: #7c1963 !important;
}

[data-bs-theme="dark"] .youth-camp-text-primary {
  color: #c298b7 !important;
}

.youth-camp-bg-light {
  background-color: #f8f9fa !important;
}

[data-bs-theme="dark"] .youth-camp-bg-light {
  background-color: #1e1e1e !important;
}

.youth-camp-shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .youth-camp-shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .youth-camp-donation-prompt-prominent {
  background-color: #1e1e1e;
  border-top-color: #9a3d81;
}

[data-bs-theme="dark"] .youth-camp-donation-prompt-prominent::before {
  background: radial-gradient(
    circle at 80% 20%,
    rgba(154, 61, 129, 0.1) 0%,
    transparent 30%
  );
}

[data-bs-theme="dark"] .youth-camp-donation-benefits .list-group-item {
  background-color: transparent;
}

[data-bs-theme="dark"] .youth-camp-donation-benefits .list-group-item:hover {
  background-color: rgba(154, 61, 129, 0.1);
}

[data-bs-theme="dark"] .youth-camp-donation-cta {
  border-left-color: #9a3d81;
}

[data-bs-theme="dark"] .youth-camp-account-number {
  color: #c298b7;
}

[data-bs-theme="dark"] .youth-camp-account-number:hover {
  color: #d8b3cc;
}

[data-bs-theme="dark"] .account-number-clickable {
  color: #c298b7;
}

[data-bs-theme="dark"] .account-number-clickable:hover {
  color: #d8b3cc;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .youth-camp-donation-prompt-prominent {
    margin-top: 1rem;
  }

  .youth-camp-donation-icon {
    font-size: 2.5rem;
  }

  .youth-camp-donation-benefits .list-group-item {
    padding: 0.75rem 0;
  }
}

#registrationInfo .card-body {
  padding: 0.5rem !important;
}

@media (min-width: 992px) {
  #registrationInfo .card-body {
    padding: 1rem !important;
  }
}

/* Accordion transitions to maintain screen view*/
.accordion-collapse {
  transition: height 0.05s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}
