/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
/* Simple reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: #1c131b;
  background-color: #fafafa;
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
}
.container.signup, .container.login {
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 9em auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(28, 19, 27, 0.9);
}

.site-header a {
  color: white;
  text-decoration: none;
  margin-left: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  width: 100%;
  max-width: 260px;
  height: auto;
  padding-top: 0.5em;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn.outline {
  border: 1px solid white;
  background: transparent;
  color: white;
}
.btn.outline.grey {
  border: 1px solid #7b1e32;
  color: #7b1e32;
  opacity: 0.75;
  font-weight: bold;
}
.btn.solid {
  background: #800020;
  color: white;
}
.btn.solid:hover {
  background: #6a001b;
}
.btn.large {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
}
.btn-primary {
  background: linear-gradient(135deg, #7b1e32 0%, #a8253c 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(123, 30, 50, 0.3);
  border-radius: 12px;
  font-weight: 600;
  padding: 0.875rem 2rem;
  font-size: 1rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 30, 50, 0.4);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:focus {
  outline: 2px solid #7b1e32;
  outline-offset: 2px;
}
.btn-outline {
  background: transparent;
  border: 1px solid #7b1e32;
  color: #7b1e32;
}
.btn-enhanced {
  position: relative;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #7b1e32 0%, #a8253c 100%);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}
.btn-enhanced:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 30, 50, 0.4);
}
.btn-enhanced:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-enhanced .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}
.btn-enhanced.loading .spinner {
  display: inline-block;
}
.btn-enhanced.loading .btn-text {
  opacity: 0.7;
}
@media (max-width: 640px) {
  .btn-enhanced {
    padding: 1rem 1.5rem;
  }
}
.btn-row {
  display: flex;
  justify-content: space-between;
}
.btn-row button {
  width: 48%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  background: url("imgs/CC-hero-02.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works {
  padding: 4rem 1rem;
  background: #fafafa;
}
.how-it-works .container {
  max-width: 1200px;
  margin: 0 auto;
}
.how-it-works .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}
.how-it-works .steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.how-it-works .steps-grid a {
  padding: unset;
  margin: unset;
  background-color: unset;
}
@media (min-width: 768px) {
  .how-it-works .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.how-it-works .steps-grid .step-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.how-it-works .steps-grid .step-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  color: #7b1e32;
}
.how-it-works .steps-grid .step-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}
.how-it-works .steps-grid .step-card .step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-it-works .steps-grid .step-card .step-icon img {
  height: auto;
}
.how-it-works .benefits-bar {
  margin-top: 3rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .how-it-works .benefits-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}
.how-it-works .benefits-bar .benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.how-it-works .benefits-bar .benefit-item p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}
.how-it-works .benefits-bar .benefit-item .benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 4px solid #333;
}
.how-it-works .benefits-bar .benefit-item .benefit-icon img {
  height: auto;
  margin-bottom: 0.75em;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 4rem 1rem;
  background: #fafafa;
}
.testimonials-section .container {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: unset;
}
.testimonials-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}
.testimonials-section .slides-wrapper {
  display: flex;
  width: 400%;
  transition: transform 0.8s ease-in-out;
}
.testimonials-section .testimonial-card {
  flex: 0 0 25%;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.testimonials-section .testimonial-card .avatar-wrapper {
  flex-shrink: 0;
  margin-right: 1.5rem;
}
.testimonials-section .testimonial-card .avatar-wrapper .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.testimonials-section .testimonial-card .testimonial-content {
  flex: 1;
  text-align: left;
}
.testimonials-section .testimonial-card .testimonial-content .stars {
  color: #7b1e32;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.testimonials-section .testimonial-card .testimonial-content blockquote {
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.testimonials-section .testimonial-card .testimonial-content cite {
  display: block;
  font-weight: 500;
  color: #333;
  font-size: 0.9rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgba(28, 19, 27, 0.9);
  color: #ccc;
  padding: 2rem 0;
}
.site-footer nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.footer-inner p img {
  width: 100%;
  max-width: 260px;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.show {
  opacity: 1;
  visibility: visible;
}
.modal.show .modal-content {
  transform: translateY(0);
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 450px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  transform: translateY(-10%);
  transition: transform 0.25s ease;
}
.modal-content .modal-logo {
  margin-bottom: 1rem;
  max-height: 80px;
}
.modal-content button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background: #800020;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.modal-content button:hover {
  background: #6a001b;
}
.modal-enhanced {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.modal-enhanced .modal-content {
  border-radius: 16px;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.modal-enhanced.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}
.modal-enhanced.show.modal-content {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 18px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal-close:hover {
  background: #e5e7eb;
  color: #374151;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
h2 {
  margin: 0 0 1.5rem;
  color: #7b1e32;
  font-size: 1.5rem;
}

form {
  display: grid;
  gap: 1rem;
}
form .form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
form .form-row label {
  display: flex;
  align-items: center;
  white-space: nowrap;
  cursor: pointer;
}
form .form-row label input {
  margin-right: 0.5rem;
}
form .form-row .forgot-password {
  color: #7b1e32;
  font-weight: 500;
  text-decoration: none;
}
form hr {
  display: none;
}
form .alt-action {
  display: flex;
  align-items: center;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
}
form .alt-action::before, form .alt-action::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}
form .alt-action::before {
  margin-right: 0.75rem;
}
form .alt-action::after {
  margin-left: 0.75rem;
}

/* Default form inputs */
input,
textarea,
select,
button {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

input[type=text], input[type=email], input[type=password] {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

button {
  background-color: #8e1e38;
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background-color: #6f172d;
}

/* ==========================================================================
   ENHANCED FORM VALIDATION
   ========================================================================== */
.form-enhanced {
  position: relative;
}

.field-group {
  position: relative;
  margin-bottom: 1.5rem;
}
.field-group label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.field-group label.required::after {
  content: " *";
  color: #e3342f;
}
@media (max-width: 640px) {
  .field-group {
    margin-bottom: 1.25rem;
  }
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #ffffff;
  position: relative;
}
.form-input:focus {
  outline: none;
  border-color: #7b1e32;
  box-shadow: 0 0 0 3px rgba(123, 30, 50, 0.1);
}
.form-input::-moz-placeholder {
  color: #9ca3af;
}
.form-input::placeholder {
  color: #9ca3af;
}
.form-input.valid {
  border-color: #10b981;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2310b981' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
.form-input.invalid {
  border-color: #e3342f;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ef4444' d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}
@media (max-width: 640px) {
  .form-input {
    padding: 0.75rem;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }
}

.error-message {
  display: block;
  color: #e3342f;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}
.error-message.show {
  opacity: 1;
  transform: translateY(0);
}

.success-message {
  display: block;
  color: #10b981;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}
.success-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.form-alert.show {
  opacity: 1;
  transform: translateY(0);
}
.form-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.form-alert.success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #059669;
}

/* ==========================================================================
   FILE UPLOAD ENHANCEMENT
   ========================================================================== */
.file-upload-container {
  position: relative;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fafafa;
}
.file-upload-container:hover {
  border-color: #7b1e32;
  background: rgba(123, 30, 50, 0.02);
}
.file-upload-container.dragover {
  border-color: #7b1e32;
  background: rgba(123, 30, 50, 0.08);
  border-style: solid;
  transform: scale(1.02);
}
.file-upload-container.has-file {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.02);
}
@media (max-width: 640px) {
  .file-upload-container {
    padding: 1.5rem;
  }
}

.file-upload-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  top: 0;
  left: 0;
}

.file-upload-content {
  pointer-events: none;
}
.file-upload-content svg {
  margin-bottom: 1rem;
  opacity: 0.6;
}
.file-upload-content p {
  margin: 0.5rem 0;
  color: #6b7280;
}
.file-upload-content p:first-of-type {
  font-weight: 500;
  color: #374151;
}

.file-upload-preview {
  margin-top: 1.5rem;
  position: relative;
}
.file-upload-preview img {
  max-width: 250px;
  max-height: 250px;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.file-upload-preview .remove-image {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.file-upload-preview .remove-image:hover {
  background: #dc2626;
}

.file-info {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.file-validation {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}
.file-validation.show {
  opacity: 1;
  transform: translateY(0);
}
.file-validation.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.file-validation.success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #059669;
}
.file-validation.warning {
  background: #fffbeb;
  border: 1px solid #fed7aa;
  color: #d97706;
}

.upload-progress {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.upload-progress.show {
  opacity: 1;
}

.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7b1e32, #a8253c);
  width: 0%;
  transition: width 0.4s ease;
  border-radius: 4px;
}

.upload-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #6b7280;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.upload-status.show {
  opacity: 1;
}

/* ==========================================================================
   MOBILE PROFILE - ENHANCED
   ========================================================================== */
.mp-header {
  background: rgba(28, 19, 27, 0.9);
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.mp-logo {
  max-height: 2.5rem;
  height: auto;
}

.mp-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}
.mp-hero img, .mp-hero-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
@media (min-width: 768px) {
  .mp-hero {
    aspect-ratio: 16/10;
  }
}

.mp-photo {
  margin: 1.5rem 0;
  padding: 0 1rem;
}
.mp-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4/5;
  -o-object-fit: cover;
     object-fit: cover;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.mobile-profile {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #333;
  padding: 0 1rem;
  max-width: 100%;
}
@media (max-width: 375px) {
  .mobile-profile {
    padding: 0 0.75rem;
  }
}
@media (min-width: 768px) {
  .mobile-profile {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
  }
}
@media (min-width: 1024px) {
  .mobile-profile {
    max-width: 700px;
  }
}
.mobile-profile .mp-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
@media (max-width: 375px) {
  .mobile-profile .mp-card {
    padding: 1.25rem;
    margin: 0.75rem 0;
  }
}
@media (min-width: 768px) {
  .mobile-profile .mp-card {
    padding: 2rem;
  }
}
.mobile-profile .mp-card h1,
.mobile-profile .mp-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  line-height: 1.3;
  color: #7b1e32;
  font-weight: 600;
}
.mobile-profile .mp-basic .mp-name {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #7b1e32;
  letter-spacing: -0.02em;
  margin: 0;
}
.mobile-profile .mp-info-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.mobile-profile .mp-info-grid.small {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 320px) {
  .mobile-profile .mp-info-grid.small {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 480px) {
  .mobile-profile .mp-info-grid.small {
    grid-template-columns: repeat(4, 1fr);
  }
}
.mobile-profile .mp-info-grid:not(.small) {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 320px) {
  .mobile-profile .mp-info-grid:not(.small) {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 480px) {
  .mobile-profile .mp-info-grid:not(.small) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.mobile-profile .mp-info-grid .mp-info-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.5rem;
  background: rgba(123, 30, 50, 0.04);
  border-radius: 8px;
  transition: background-color 0.2s ease;
  min-height: 44px;
}
.mobile-profile .mp-info-grid .mp-info-item:hover {
  background: rgba(123, 30, 50, 0.08);
}
.mobile-profile .mp-info-grid .mp-info-item .icon {
  margin-right: 0.5rem;
  font-size: 1rem;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}
@media (hover: none) and (pointer: coarse) {
  .mobile-profile .mp-info-grid .mp-info-item {
    padding: 0.75rem;
    min-height: 44px;
  }
}
.mobile-profile .mp-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-profile .mp-details ul li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: rgba(123, 30, 50, 0.02);
  border-radius: 8px;
  border-left: 3px solid #7b1e32;
}
.mobile-profile .mp-details ul li .icon {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}
.mobile-profile .mp-details hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}
.mobile-profile .mp-pref p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #374151;
}
.mobile-profile .mp-cta {
  text-align: center;
  margin: 2rem 0;
  padding: 2rem 1rem;
}
.mobile-profile .mp-cta h2 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: #1c131b;
}
.mobile-profile .mp-cta .btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
  min-width: 120px;
  position: relative;
  overflow: hidden;
}
@media (hover: none) and (pointer: coarse) {
  .mobile-profile .mp-cta .btn {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
  }
}
@media (max-width: 375px) {
  .mobile-profile .mp-cta .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    min-width: 100px;
  }
}
.mobile-profile .mp-cta .mp-feedback {
  margin-top: 1rem;
  font-size: 1rem;
  color: #333;
}

/* ==========================================================================
   CRUSH ONBOARDING
   ========================================================================== */
.crush-onboarding {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 2em;
}
.crush-onboarding .container {
  max-width: 480px;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.crush-onboarding h1 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #7b1e32;
}
.crush-onboarding p {
  font-size: 16px;
  line-height: 1.75em;
  margin-bottom: 24px;
}

/* ==========================================================================
   CONTACT PREFERENCE FORM
   ========================================================================== */
.contact-pref-form {
  max-width: 480px;
  margin: 2rem auto;
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.contact-pref-form .form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  text-align: center;
}
.contact-pref-form .form-subtitle {
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .contact-pref-form {
    margin: 1rem;
    padding: 1.5rem;
  }
  .contact-pref-form .form-title {
    font-size: 1.25rem;
  }
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.radio-group > label:first-child {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.radio-option {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}
.radio-option:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}
.radio-option.selected {
  border-color: #7b1e32;
  background: rgba(123, 30, 50, 0.02);
}
.radio-option.selected .radio-indicator {
  border-color: #7b1e32;
}
.radio-option.selected .radio-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}
.radio-option.selected .radio-title {
  color: #7b1e32;
  font-weight: 600;
}
.radio-option input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.radio-title {
  font-weight: 500;
  color: #374151;
  font-size: 1rem;
}

.radio-description {
  font-size: 0.85rem;
  color: #6b7280;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  width: 100%;
  margin: 0;
}

.conditional-fields {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  animation: slideIn 0.3s ease-out;
}

.radio-indicator {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: white;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
  display: block;
}
.radio-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7b1e32;
  transition: transform 0.2s ease;
}

.radio-option.selected .radio-indicator {
  border-color: #7b1e32;
}
.radio-option.selected .radio-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}

.conditional-fields {
  margin-top: 1rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  animation: slideIn 0.3s ease-out;
}
@media (max-width: 640px) {
  .conditional-fields {
    padding: 1rem;
  }
}

.input-label {
  display: block;
  margin-bottom: 1rem;
}
.input-label .label-text {
  display: block;
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.input-label input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #ffffff;
}
.input-label input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.input-label input::-moz-placeholder {
  color: #9ca3af;
}
.input-label input::placeholder {
  color: #9ca3af;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  cursor: pointer;
}
.checkbox-container input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-top: 0.125rem;
  accent-color: #3b82f6;
  cursor: pointer;
}
.checkbox-container .checkbox-text {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.4;
}

.checkbox-line {
  display: block;
  margin: 0.75rem 0;
}

.submit-button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 1rem;
}
.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.submit-button:active {
  transform: translateY(0);
}
.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.hidden {
  display: none;
}

.error {
  color: red;
  font-size: 14px;
}

.user-photo {
  width: 100%;
  max-width: 200px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  margin-bottom: 1rem;
}

/* ==========================================================================
   DEBUG PANEL
   ========================================================================== */
.session-debug {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 1em;
  border: 1px solid #777;
  border-radius: 5px;
  font-family: monospace;
  background: #333;
  color: #eee;
  width: 100%;
  min-height: 3em;
}
.session-debug .debug-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #eee;
  color: #333;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 3px;
}
.session-debug .dbgr-content {
  max-height: 300px;
  overflow-y: auto;
  transition: max-height 0.3s ease;
  padding: 10px;
}
.session-debug .dbgr-content.hidden {
  max-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}
.session-debug .dbgr-content.visible {
  max-height: 300px;
  opacity: 1;
  margin-top: 1em;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ==========================================================================
   ACCESSIBILITY & MOTION PREFERENCES
   ========================================================================== */
@media (prefers-contrast: high) {
  .mp-card {
    border: 2px solid #000;
  }
  .mp-info-item {
    border: 1px solid #000;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mp-photo img,
  .mp-hero img,
  .mp-hero-img {
    animation: none !important;
  }
}
/* ==========================================================================
   ENHANCED CHECKBOX STYLING
   ========================================================================== */
.checkbox-field {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.checkbox-field:hover {
  background: rgba(123, 30, 50, 0.02);
}
.checkbox-field input[type=checkbox] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-field input[type=checkbox]:checked + .checkbox-label .checkbox-custom {
  background: #7b1e32;
  border-color: #7b1e32;
}
.checkbox-field input[type=checkbox]:checked + .checkbox-label .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-custom {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background: white;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 0.125rem;
  display: inline-block;
}
.checkbox-custom::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  width: 100%;
  margin: 0;
}

.checkbox-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

/* ==========================================================================
   FIELD HINTS
   ========================================================================== */
.field-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
}

/* ==========================================================================
   ENHANCED WAITLIST BUTTON
   ========================================================================== */
.btn-waitlist {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}
.btn-waitlist:hover:not(:disabled) {
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

/* ==========================================================================
   MODAL CONTENT IMPROVEMENTS
   ========================================================================== */
.modal .modal-content h1 {
  color: #7b1e32;
  margin-bottom: 1rem;
}
.modal .modal-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #4b5563;
}
.modal .modal-content p strong {
  color: #7b1e32;
}
.modal .modal-content .form-enhanced {
  margin-top: 1.5rem;
}/*# sourceMappingURL=styles.css.map */