body {
  font-family: sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 20px;
  text-align: center;
}

.card {
  background: white;
  padding: 20px;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  max-width: 400px;
}

.center-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.warning {
  color: red;
  margin-top: 10px;
}

.profile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.profile {
  width: 300px;
}

.profile img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

input, button {
  padding: 10px;
  margin: 8px 0;
  width: 90%;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.btn, button {
  background: #ff4081;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.photo-scroll {
  display: flex;
  overflow-x: scroll;
  gap: 10px;
  margin-bottom: 20px;
}

.photo-scroll img {
  height: 200px;
  border-radius: 10px;
}

.photo-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 10px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.photo-scroll::-webkit-scrollbar {
  display: none;
}

.photo-scroll img {
  height: 250px;
  border-radius: 10px;
  flex-shrink: 0;
  scroll-snap-align: start;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-scroll img:hover {
  transform: scale(1.05);
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

input, button {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  background-color: #25D366;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #1ebf5b;
}

/* Carousel Styles */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 24px;
  padding: 5px 12px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.7);
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.carousel-button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}
