/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f4fc;
}

.back-link {
  display: inline-block;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #6a0dad; /* White text */
  background-color: #fff; /* Blue background */
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

header {
  background-color: #6a0dad;
  color: #fff;
  padding: 15px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #6a0dad;
  color: #fff;
}

/* Index Page Styles */
#profiles-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 15px;
  gap: 10px;
}

.profile-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  width: calc(50% - 10px);
  margin: 10px 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.profile-card:hover {
  transform: translateY(-5px);
}

.profile-card img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-info {
  background-color: rgba(106, 13, 173, 0.8);
  color: #fff;
  padding: 10px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.profile-name {
  font-size: 1rem;
  font-weight: bold;
}

.profile-details {
  font-size: 0.9rem;
}

.profile-badge {
  background-color: #ff4d4d;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Profile Page Styles */
.profile-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.profile-header img {
  width: 100%; /* Responsive scaling */
  max-width: 150px; /* Limit maximum size */
  height: auto;
  border-radius: 10px;
}

.profile-header .info {
  flex: 1;
}

.thumbnails-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.thumbnails-container img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid #ddd;
  transition: border 0.2s;
}

.thumbnails-container img:hover {
  border: 2px solid #6a0dad;
}

/* Reviews Section */
.reviews-section .review {
  text-align: left;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.review p {
  margin: 5px 0;
}

.ratings-section .rating {
  text-align: left;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.rating p {
  margin: 5px 0;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .profile-card {
    width: calc(50% - 10px);
  }

  .profile-header img {
    max-width: 100%;
  }

  .thumbnails-container img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .profile-card {
    width: 100%;
  }
}

.contact-section {
  margin-top: 20px;
  text-align: center;
}

.contact-button {
  background-color: #6a0dad;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #4e0871;
}

.hidden {
  display: none; /* Initially hide details */
}

#contact-details {
  margin-top: 20px;
  text-align: left;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin: 5px 0;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dim background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-content h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #6a0dad;
}

.modal-content p {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}

.modal-content button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#proceed-to-payment {
  background-color: #6a0dad;
  color: white;
  margin-right: 10px;
}

#proceed-to-payment:hover {
  background-color: #580ea1;
}

.modal-content button:last-of-type {
  background-color: #e0e0e0;
  color: #333;
}

.modal-content button:last-of-type:hover {
  background-color: #c0c0c0;
}
header {
  position: relative;
  background-color: #6a0dad;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

#signup-button {
  position: absolute; /* Keep it positioned in the banner */
  top: 15px; /* Adjust from top of the header */
  right: 20px; /* Adjust from right of the header */
  background-color: #6a0dad; /* Primary button color */
  color: #ffffff; /* White text */
  padding: 10px 20px; /* Space inside the button */
  font-size: 1rem; /* Font size */
  font-weight: bold; /* Make text bold */
  border: none; /* Remove default borders */
  border-radius: 5px; /* Slightly rounded corners */
  cursor: pointer; /* Change cursor on hover */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add some shadow for depth */
  transition: all 0.3s ease; /* Smooth transitions on hover */
}

#signup-button:hover {
  background-color: #5b0ba8; /* Darker purple on hover */
  transform: translateY(-2px); /* Slight upward movement */
}

}

/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #6a0dad, #b583ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #fff;
}

/* Auth container */
.auth-container {
  width: 90%;
  max-width: 400px;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #333;
}

/* Auth card styles */
.auth-card {
  margin-bottom: 20px;
}

.auth-card h2 {
  margin-bottom: 10px;
  text-align: center;
  color: #6a0dad;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
}

form input {
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border 0.3s ease;
}

form input:focus {
  border: 1px solid #6a0dad;
}

.btn-primary {
  background-color: #6a0dad;
  color: #fff;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #540a96;
}

/* Auth message */
#auth-message {
  margin-top: 15px;
  text-align: center;
  color: #ff4d4d;
}

/* Responsive design */
@media (max-width: 480px) {
  .auth-container {
    width: 95%;
    padding: 15px;
  }
}





