* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background-image: url("../img/bg.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: #111111;
}

ol>li::marker {
  color: #503AA8;
  font-size: 1.1em;
  font-weight: bold;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.logo {
  max-width: 300px;
  height: auto;
}

.selection-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.selection-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: #503AA8;
  margin-bottom: 30px;
}

.selection-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.selection-btn {
  width: 100%;
  background: #503AA8;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.selection-btn:hover {
  background: #6B5BB0;
  transform: translateY(-2px);
}

.btn-icon {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

.sicon {
  max-width: 80px;
  height: auto;
}

.date {
  font-size: 1.5rem;
  font-weight: 400;
  color: #503AA8;
  margin-top: 10px;
}

.form-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: #503AA8;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #686868;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: #FFFFFF;
}

.form-group input:focus {
  outline: none;
  border-color: #9b51e0;
}

.form-group input[type="file"] {
  padding: 12px;
  background: #FAFAFA;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  padding: 10px 16px;
  margin-right: 12px;
  border: none;
  border-radius: 8px;
  background: #503AA8;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-group input[type="file"]::file-selector-button:hover {
  background: #6a4bb8;
}

.avatar-section {
  text-align: center;
}

.avatar-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #686868;
  margin-bottom: 15px;
  display: block;
  letter-spacing: 0.5px;
}

.avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #F6CFF4;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid #9b51e0;
  overflow: hidden;
}

.avatar-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(155, 81, 224, 0.3);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  font-size: 3rem;
  color: #9b51e0;
}

.select-avatar-btn {
  background: #503AA8;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.select-avatar-btn:hover {
  background: #6B5BB0;
  transform: translateY(-2px);
}

.submit-btn {
  width: 100%;
  background: #111111;
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: #333333;
  transform: translateY(-2px);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 25px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #F0F0F0;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #503AA8;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #686868;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: #111111;
}

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.avatar-option {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 4px solid transparent;
  overflow: hidden;
  background: #F6CFF4;
}

.avatar-option:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(155, 81, 224, 0.4);
  border-color: #9b51e0;
}

.avatar-option.selected {
  border-color: #503AA8;
  box-shadow: 0 5px 25px rgba(80, 58, 168, 0.5);
}

.avatar-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.select-btn {
  display: block;
  width: 100%;
  background: #503AA8;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 25px;
  transition: background 0.3s ease;
}

.select-btn:hover {
  background: #6B5BB0;
}

@media (max-width: 600px) {
  .avatar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .form-container {
    padding: 25px;
  }

  .logo {
    max-width: 250px;
  }
}

@media (max-width: 400px) {
  .avatar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.privacy-checkbox input {
  width: auto;
  margin: 0;
}

.privacy-checkbox label {
  margin-bottom: 0;
  cursor: pointer;
}
