* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  top: 0 !important;
  background: url('bg-homed.png') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.landing-page {
  flex: 1;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background-color: rgba(241, 241, 241, 0.95);
  border-bottom: 1px solid #eee5dc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 24px;
  color: #833883;
}

.contact-icons {
  display: flex;
  gap: 20px;
}

.contact-icons span {
  font-size: 20px;
  color: #f45858;
  cursor: pointer;
}

main {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
}

main h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

main p {
  font-size: 16px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.4;
}

.begin-button {
  background-color: #f45858;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(244, 88, 88, 0.3);
  transition: all 0.3s ease;
}

.begin-button:hover {
  background-color: #e04545;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 88, 88, 0.4);
}

.begin-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(244, 88, 88, 0.3);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.gallery-slot {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.gallery-slot img.fade-out {
  opacity: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 40px;
  color: #666;
  font-size: 14px;
  background-color: rgba(241, 241, 241, 0.95);
  border-top: 1px solid #eee5dc;
  margin-top: auto;
}

/* Form styling */
.container {
  flex: 1;
  max-width: 70%;
  width: 60%;
  margin: 120px auto 40px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  min-height: calc(100vh - 250px);
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
}

.form-step {
  display: none;
  text-align: left;
  width: 100%;
}

.form-step.active {
  display: block;
}

.step-number {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.form-step h2 {
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
  font-weight: 600;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.options:hover {
    color: white;
  }

.option {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  font-size: 16px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.option:hover {
  border-color: #f45858;
  background-color: #f45858;
  color: white;
}

.option:focus {
  outline: none;
  border-color: #f45858;
  background: #f45858;
  color: white;
}

.option-text {
  color: #333;
  font-size: 16px;
}

.option-text:hover {
    color: white;
    font-size: 16px;
  }

.continue-button {
  width: 100%;
  padding: 20px;
  background: #f45858;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.continue-button:hover {
  background: #e04545;
}

@media (max-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-attachment: scroll;
  }

  .landing-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
    margin-top: 60px;
  }

  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    margin: 0;
  }

  .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 95%;
    max-width: 100%;
    margin: 70px auto 20px;
    padding: 20px;
    min-height: calc(100vh - 140px);
  }

  .form-step {
    display: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
  }

  .form-step h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .step-number {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .step-number img {
    width: 16px;
  }

  .options {
    gap: 8px;
  }

  .option {
    padding: 12px;
    font-size: 14px;
  }

  .option-text {
    font-size: 14px;
  }

  .form-navigation {
    margin-top: 20px;
    gap: 10px;
  }

  .nav-button {
    padding: 12px;
    font-size: 14px;
  }

  /* Profile view adjustments */
  .profile-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .profile-image {
    max-width: 100%;
    height: 250px;
  }

  .profile-info {
    padding: 0;
  }

  .profile-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .info-item {
    font-size: 14px;
  }

  .info-item .label {
    width: 80px;
  }

  .action-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* Matches container adjustments */
  .matches-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .matches-container img {
    width: 150px;
  }

  /* Completion step adjustments */
  .completion-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 15px;
  }

  .completion-logo {
    width: 150px;
    margin-bottom: 20px;
  }

  .completion-message {
    font-size: 14px;
  }

  .match-success {
    font-size: 16px;
  }

  .happy-dating {
    font-size: 14px;
  }

  .okay-button {
    padding: 12px 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo img {
    width: 80px;
  }

  .contact-icons {
    gap: 15px;
    font-size: 14px;
  }

  main h2 {
    font-size: 24px;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-slot {
    height: 200px;
  }

  .container {
    width: 100%;
    margin: 60px 0 0;
    padding: 15px;
    border-radius: 15px 15px 0 0;
    min-height: calc(100vh - 120px);
  }

  .form-step {
    padding: 10px;
  }

  /* Toast adjustments for mobile */
  .toast-container {
    top: auto;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .toast {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }

  /* Footer adjustments */
  footer {
    padding: 15px;
    flex-direction: column;
    text-align: center;
    gap: 5px;
    font-size: 12px;
  }

  /* Input fields adjustments */
  input[type="number"],
  .fullname-input,
  .email-input {
    padding: 12px;
    font-size: 14px;
  }
}

/* Add specific adjustments for very small screens */
@media (max-width: 360px) {
  main h2 {
    font-size: 22px;
  }

  .container {
    padding: 10px;
    min-height: calc(100vh - 100px);
  }

  .form-step h2 {
    font-size: 20px;
  }

  .option {
    padding: 10px;
    font-size: 13px;
  }

  .profile-image {
    height: 200px;
  }
}

/* Add styles for the age input */
input[type="number"] {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

input[type="number"]:focus {
  outline: none;
  border-color: #f45858;
}

/* Style for the completed step */
#form-completed {
  text-align: center;
}

#form-completed .step-number {
  font-size: 32px;
  color: #f45858;
  margin-bottom: 20px;
}

#form-completed p {
  color: #666;
  font-size: 18px;
  margin-top: 10px;
}

/* Add navigation styles */
.form-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.nav-button {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button.prev {
  background: #f1f1f1;
  color: #666;
}

.nav-button.next {
  background: #f45858;
  color: white;
}

.nav-button:hover {
  transform: translateY(-2px);
}

.nav-button.prev:hover {
  background: #e5e5e5;
}

.nav-button.next:hover {
  background: #e04545;
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Update the continue button style to match navigation */
.continue-button {
  background: #f45858;
  color: white;
}

/* Add loader styles */
.loader-container {
  text-align: center;
  padding: 40px 0;
}

.loader {
  width: 100px;
  height: 100px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #f45858;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.loader-container p {
  color: #666;
  font-size: 16px;
  margin-top: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add profile step styles */
.profile-container {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.profile-image {
  flex: 1;
  max-width: 50%;
  border-radius: 20px;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
  padding: 20px 0;
}

.profile-info h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  font-size: 18px;
}

.info-item .label {
  font-weight: 600;
  width: 100px;
}

.info-item .value {
  color: #666;
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.action-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-button.reject {
  background: #ffebee;
  color: #f45858;
}

.action-button.accept {
  background: #e8f5e9;
  color: #4caf50;
}

.action-button:hover {
  transform: scale(1.1);
}

/* Update media queries for profile view */
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
    gap: 20px;
  }

  .profile-image {
    max-width: 100%;
    height: 300px;
  }

  .profile-info {
    padding: 0;
  }
}

/* Add styles for fullname input */
.fullname-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.fullname-input:focus {
  outline: none;
  border-color: #f45858;
}

/* Add styles for email input */
.email-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.email-input:focus {
  outline: none;
  border-color: #f45858;
}

/* Update completion styles */
.completion-container {
  text-align: center;
  padding: 40px 20px;
}

.completion-logo {
  width: 200px;
  margin-bottom: 30px;
}

.completion-message {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.match-success {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.happy-dating {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.okay-button {
  background: #f45858;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.okay-button:hover {
  background: #e04545;
  transform: translateY(-2px);
}

.continue-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Add toast notification styles */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.toast {
  background: white;
  color: #333;
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.5s ease-in-out;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success {
  border-left: 4px solid #4caf50;
}

.toast.error {
  border-left: 4px solid #f44336;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

/* Update the matches container styling */
.matches-container {
  text-align: center;
  padding: 40px 0;
}

.matches-container .form-navigation {
  max-width: 600px;
  margin: 30px auto 0;
}

/* Remove the continue-button from these steps since we're using nav buttons */
#form-step-fullname .continue-button,
#form-step-email .continue-button,
#form-step-matches .continue-button {
  display: none;
}

/* Add this to your CSS */
.goog-te-banner-frame {
  display: none !important;
}

.goog-te-gadget {
  height: 0;
  overflow: hidden;
}

.goog-te-spinner-pos {
  display: none !important;
}

/* Update form step styles for mobile */
@media (max-width: 768px) {
  .form-step {
    display: none; /* Hide all form steps by default */
    width: 100%;
  }

  .form-step.active {
    display: flex; /* Show only active step */
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 15px;
  }

  /* Remove the duplicate display properties */
  .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 95%;
    max-width: 100%;
    margin: 70px auto 20px;
    padding: 20px;
    min-height: calc(100vh - 140px);
  }

  /* Ensure proper stacking of form elements */
  .options {
    flex: 0 0 auto; /* Don't allow flex to stretch options */
    margin-bottom: 20px;
  }

  .form-navigation {
    flex: 0 0 auto; /* Don't allow flex to stretch navigation */
    margin-top: auto; /* Push navigation to bottom */
    padding-top: 20px;
  }
}

/* Update smaller screen adjustments */
@media (max-width: 480px) {
  .form-step.active {
    padding: 10px;
  }

  .container {
    margin: 60px 0 0;
    padding: 15px;
  }
}

/* Update button styles for mobile */
@media (max-width: 768px) {
  .option, 
  .nav-button, 
  .continue-button, 
  .action-button,
  .begin-button,
  .okay-button {
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
  }

  /* Ensure buttons are properly clickable */
  .form-step.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Change from center to flex-start */
    min-height: 100%;
    padding: 15px;
    overflow-y: auto; /* Allow scrolling if content is too tall */
  }

  /* Ensure proper z-index and positioning */
  .option,
  .nav-button,
  .continue-button,
  .action-button {
    position: relative;
    z-index: 1;
  }

  /* Add active state for touch devices */
  .option:active,
  .nav-button:active,
  .continue-button:active,
  .action-button:active,
  .begin-button:active,
  .okay-button:active {
    opacity: 0.7;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .option {
    padding: 15px;
    margin-bottom: 10px;
    -webkit-tap-highlight-color: transparent;
  }

  .option:active {
    background-color: #f45858;
    color: white;
  }

  .nav-button:active,
  .continue-button:active,
  .action-button:active {
    opacity: 0.8;
  }
}

/* Make all buttons and clickable elements work on mobile */
button,
.option,
.nav-button,
.begin-button,
.continue-button,
.action-button,
.okay-button {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
    position: relative; /* Ensure z-index works */
    z-index: 2; /* Place above other elements */
    touch-action: manipulation; /* Optimize for touch */
}

/* Ensure form inputs are clickable */
input[type="text"],
input[type="email"],
input[type="number"] {
    cursor: text;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 2;
    touch-action: manipulation;
}

/* Make option buttons more touch-friendly */
.option {
    min-height: 44px; /* Minimum touch target size */
    padding: 12px 20px;
    margin: 8px 0;
}

/* Adjust navigation buttons for better touch */
.nav-button {
    min-width: 44px;
    min-height: 44px;
    padding: 12px 24px;
}

/* Make profile action buttons more touchable */
.action-button {
    min-width: 60px;
    min-height: 60px;
}

/* Ensure containers don't block touch events */
.form-step,
.options,
.form-navigation,
.profile-container,
.profile-actions {
    position: relative;
    z-index: 1;
}

/* Add specific mobile optimization */
@media (max-width: 768px) {
    /* Increase spacing between clickable elements */
    .option {
        margin: 12px 0;
    }
    
    /* Ensure buttons have enough space */
    .form-navigation {
        padding: 15px 0;
    }
    
    /* Make profile actions more prominent */
    .profile-actions {
        padding: 20px 0;
    }
    
    /* Increase touch targets */
    .action-button {
        min-width: 70px;
        min-height: 70px;
    }
    
    /* Ensure inputs are easily tappable */
    input[type="text"],
    input[type="email"],
    input[type="number"] {
        min-height: 44px;
        padding: 10px 15px;
    }
}

/* Fix any potential overlay issues */
.toast-container {
    z-index: 1000;
}

.loader-container {
    z-index: 999;
}

/* Ensure modal-like elements don't block interaction */
.form-step {
    pointer-events: none; /* Allow clicks to pass through container */
}

.form-step.active {
    pointer-events: auto; /* Re-enable clicks for active step */
}

/* Fix for iOS devices */
* {
    -webkit-touch-callout: none; /* Disable callout */
    -webkit-user-select: none; /* Disable selection */
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Re-enable text selection for inputs */
input[type="text"],
input[type="email"],
input[type="number"] {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Reset pointer-events for all form steps */
.form-step {
    pointer-events: auto !important;
}

/* Ensure all clickable elements are above other elements */
.option,
.nav-button,
.begin-button,
.continue-button,
.action-button,
.okay-button,
input[type="text"],
input[type="email"],
input[type="number"] {
    position: relative !important;
    z-index: 100 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
    touch-action: manipulation !important;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Increase touch target sizes */
    .option,
    .nav-button,
    .begin-button,
    .continue-button,
    .action-button,
    .okay-button {
        min-height: 44px !important;
        padding: 12px 20px !important;
        margin: 8px 0 !important;
    }

    /* Ensure proper event handling */
    .container {
        pointer-events: auto !important;
    }

    .form-step.active {
        display: flex !important;
        flex-direction: column !important;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 1 !important;
    }

    /* Fix stacking context */
    .profile-container,
    .profile-actions,
    .form-navigation,
    .options {
        position: relative !important;
        z-index: 2 !important;
        pointer-events: auto !important;
    }

    /* Ensure inputs are tappable */
    input[type="text"],
    input[type="email"],
    input[type="number"] {
        min-height: 44px !important;
        padding: 12px !important;
        margin: 8px 0 !important;
        pointer-events: auto !important;
    }

    /* Fix action buttons */
    .action-button {
        min-width: 60px !important;
        min-height: 60px !important;
        pointer-events: auto !important;
    }

    /* Remove any transforms that might affect clicking */
    .option:hover,
    .nav-button:hover,
    .action-button:hover {
        transform: none !important;
    }
}

/* Remove any overlay that might block clicks */
.toast-container,
.loader-container {
    pointer-events: none !important;
}

/* Enable clicking on toast messages */
.toast {
    pointer-events: auto !important;
}

/* Fix iOS-specific issues */
@supports (-webkit-touch-callout: none) {
    .option,
    .nav-button,
    .begin-button,
    .continue-button,
    .action-button,
    .okay-button {
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* Add these styles for translation widget */
#google_translate_element {
    position: fixed;
    bottom: -999px;
    left: -999px;
}

/* Fix for Google Translate banner */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget > span {
    display: none !important;
}

.VIpgJd-ZVi9od-l4eHX-hSRGPd {
    display: none !important;
}

/* Language Modal Styles */
.language-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
}

.language-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 300px;
}

.language-content h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.language-option {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-option:hover {
    background-color: #f45858;
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .language-modal {
        padding-top: 60px;
    }
}

/* Image gallery base styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.gallery-slot {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.gallery-slot img.fade-out {
    opacity: 0;
}

/* Mobile adjustments for image gallery */
@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 100%;
    }

    .desktop-only {
        display: none !important;
    }

    .gallery-slot {
        height: 300px;
    }
}

.phone-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Add these styles for the match popout */
#match-popout {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #d270cd 0%, #576acd 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  transform: translateY(100%);
  opacity: 0;
}

#match-popout.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

/* Add these CSS rules for mobile profile actions */
@media screen and (max-width: 768px) {
    .profile-container {
        display: flex;
        flex-direction: column;
    }

    .profile-actions {
        order: -1; /* This moves the actions to the top */
        margin-bottom: 15px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .action-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .profile-image {
        margin-top: 0;
    }
}