.birthday-section {
  margin: 0 20px 22px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #ffc9df;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 79, 152, 0.2), transparent 38%),
    linear-gradient(145deg, #ffffff, #ecfcff);
  box-shadow: 0 14px 32px rgba(255, 79, 152, 0.12);
}

.birthday-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.birthday-heading-copy {
  min-width: 0;
}

.birthday-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #db367f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.birthday-heading h2 {
  margin: 0;
  color: #15324a;
  font-size: 23px;
  line-height: 1.15;
}

.birthday-cake {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #14d0df, #ff4f98);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 9px 22px rgba(255, 79, 152, 0.22);
}

.birthday-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #effdff, #fff3f8);
}

.birthday-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.birthday-slide {
  min-width: 100%;
  padding: 18px 18px 20px;
  text-align: center;
}

.birthday-photo {
  width: 154px;
  height: 154px;
  display: block;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #dff9ff;
  box-shadow: 0 12px 28px rgba(21, 50, 74, 0.18);
}

.birthday-today {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2f79, #c90068);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.birthday-name {
  display: block;
  margin: 0 0 5px;
  color: #15324a;
  font-size: 24px;
  line-height: 1.2;
}

.birthday-date {
  display: block;
  color: #db367f;
  font-size: 15px;
  font-weight: 850;
}

.birthday-message {
  margin: 10px auto 0;
  color: #456a80;
  font-size: 15px;
  line-height: 1.6;
}

.birthday-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 12px;
}

.birthday-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid #bde8ed;
  border-radius: 50%;
  background: #fff;
  color: #15324a;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.birthday-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.birthday-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #acdfe5;
  cursor: pointer;
}

.birthday-dot.active {
  width: 24px;
  background: #ff4f98;
}

.birthday-empty {
  padding: 24px 14px;
  color: #4f748b;
  text-align: center;
  line-height: 1.55;
}

.birthday-registration {
  margin-top: 17px;
  border-top: 1px solid #d6eef2;
  padding-top: 15px;
}

.birthday-registration summary {
  color: #15324a;
  font-weight: 900;
  cursor: pointer;
}

.birthday-registration p {
  color: #4f748b;
  font-size: 13px;
  line-height: 1.55;
}

.birthday-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.birthday-form-grid .full {
  grid-column: 1 / -1;
}

.birthday-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #31566f;
  font-size: 13px;
  line-height: 1.45;
}

.birthday-consent input {
  width: auto;
  margin-top: 3px;
}

.birthday-submit {
  width: 100%;
}

.birthday-feedback {
  display: none;
  margin-top: 11px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #e8f9f1;
  color: #1f7150;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.birthday-feedback.error {
  display: block;
  background: #fff0f5;
  color: #a92e61;
}

.birthday-feedback.success {
  display: block;
}

.birthday-admin-photo {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #dff9ff;
}

.birthday-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.birthday-admin-actions .btn {
  margin-top: 0;
}

.birthday-admin-table {
  overflow-x: auto;
}

.birthday-admin-preview {
  width: 110px;
  height: 110px;
  display: none;
  margin-top: 10px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(21, 50, 74, 0.15);
}

@media (max-width: 430px) {
  .birthday-section {
    padding: 17px;
  }

  .birthday-heading h2 {
    font-size: 21px;
  }

  .birthday-form-grid {
    grid-template-columns: 1fr;
  }

  .birthday-form-grid .full {
    grid-column: auto;
  }
}
