body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom right, #ffe6f2, #fff0f5);
  font-family: 'Poppins', sans-serif;
  color: #d63384;
  text-align: center;
  min-height: 100vh;
}

.container {
  margin-top: 100px;
  padding: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: #fff0f5;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255, 102, 163, 0.3);
}

h1 {
  font-size: 3em;
  margin-bottom: 10px;
  color: #d63384;
}

.sparkle {
  background: linear-gradient(to right, #ff99cc, #ff66b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

p {
  font-size: 1.2em;
  color: #8c2e5a;
  margin-bottom: 30px;
}

.buttons {
  margin-top: 20px;
}

.btn {
  background: #ff66b2;
  border: none;
  color: white;
  padding: 12px 25px;
  margin: 10px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(255, 102, 163, 0.4);
  user-select: none;
}

.btn:hover {
  background: #e64a97;
  box-shadow: 0 6px 15px rgba(255, 51, 133, 0.6);
}

.btn-outline {
  background: white;
  border: 2px solid #ff66b2;
  color: #ff66b2;
  font-weight: 600;
  box-shadow: none;
}

.btn-outline:hover {
  background: #ff66b2;
  color: white;
  box-shadow: 0 6px 15px rgba(255, 51, 133, 0.6);
}

/* Inputs styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea {
  width: 250px;
  max-width: 100%;
  padding: 10px 15px;
  margin: 8px auto 16px auto;
  display: block;
  border: 2px solid #ff66b2;
  border-radius: 25px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  color: #d63384;
  background-color: white;
  resize: vertical;
  user-select: text;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus {
  outline: none;
  border-color: #ff1a75;
  background-color: #fff0f5;
  box-shadow: 0 0 8px #ff66a3;
}

/* Date picker - fix width for some browsers */
input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align: center;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #ffe6f2;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #ff66a3;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff3385;
}

/* ===== Stories Feature Styling ===== */
.stories-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ffb6c1;
  scrollbar-width: thin;
  scrollbar-color: #ff66a3 #ffe6f2;
}
.stories-container::-webkit-scrollbar {
  height: 8px;
}
.stories-container::-webkit-scrollbar-track {
  background: #ffe6f2;
}
.stories-container::-webkit-scrollbar-thumb {
  background: #ff66a3;
  border-radius: 4px;
}
.stories-container::-webkit-scrollbar-thumb:hover {
  background: #ff3385;
}
.story-item {
  min-width: 80px;
  cursor: pointer;
  text-align: center;
  outline: none;
}
.story-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #ff66a3;
  object-fit: cover;
  transition: border-color 0.3s ease;
}
.story-item:hover img,
.story-item:focus img {
  border-color: #ff3385;
}
.story-username {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #d63384;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}