/* password strength*/
#toggle-password-icon { 
    position: absolute;
    bottom: 7px;
    right: 5px; 
    height: 20px;
    cursor: pointer;
    transform: translateY(-50%);
}
#password-strength {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
#password-strength-bar {
  display: none;
  height: 5px;
  background-color: var(--bg-blue-dark);
  border-radius: 3px;
  margin-top: 5px;
  z-index: 1000;
  align-self: flex-start;
  width: 100%;
}
#password-strength-bar-fill {
    height: 100%;
    border-radius: 3px;
    background-color: var(--bg-blue-dark);
    width: 0%;
}
#password-strength-bar-fill.weak {
    background-color: #b50f0f;
}
#password-strength-bar-fill.medium {
    background-color: #cf7e15;
}
#password-strength-bar-fill.strong {
    background-color: #099409;
}
#password-recommendations {
  align-self: flex-start;
  font-size: 12px;
  color: var(--font-gray-clair);
  list-style-type: disc;
  margin-left: 0px;
  display:none;
  columns: 2;
}
#register_div {
  height: 50px;
  width: 100%;
  box-sizing: border-box;
}



/* FEEDBACKS SUPP*/
.rs-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.rs-modal {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 90%;
  background: var(--surface);
  border-radius: var(--radius-large);
  box-shadow: var(--dt-surface3-shadow);
  overflow: hidden;
}

.rs-progress-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: auto;
  padding: 20px 30px;
  box-sizing: border-box;
  background: var(--bg-blue-clear);
  border-bottom: 1px solid var(--border-color);
  gap: 20px;
}

.rs-progress-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.rs-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.rs-step-indicator span {
  font-size: 14px;
  color: var(--font-gray);
  font-weight: 500;
  user-select: none;
}

.rs-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-blue-dark);
  color: var(--font-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  transition: all var(--transition-fast) ease;
}

.rs-step-indicator.active .rs-step-number {
  background: var(--primary-color);
  color: var(--bg-white);
}

.rs-step-indicator.completed .rs-step-number {
  background: var(--green);
  color: var(--bg-white);
}

.rs-progress-bar {
  height: 4px;
  background: var(--bg-blue-dark);
  border-radius: 2px;
  margin: 0 40px;
  width: calc(100% - 80px);
  overflow: hidden;
}

.rs-progress-fill {
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  width: 33.33%;
  transition: width var(--transition-slow) ease;
}

.rs-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow-y: auto;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
#registration-survey-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  background-color: var(--surface);
  border-radius: 20px;
  box-sizing: border-box;
  gap: 20px;
}
.rs-question {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  position: absolute;
  transform: translateX(0);
  bottom: 90px;
  height: calc(100% - 90px);
  transition: transform 0.5s ease-in-out, opacity 0.35s ease-in-out;
  overflow-x: hidden;
  overflow-y: auto;
}
.rs-question[data-step="0"] {
  top: 0 !important;
  height: calc(100% - 30px) !important;
  justify-content: flex-end !important;
}
.rs-question.slide-left {
  transform: translateX(-30px);
  opacity: 0;
}

.rs-question.slide-right {
  transform: translateX(30px);
  opacity: 0;
}

.rs-question.hidden {
  display: none;
  transform: translateX(0);
  opacity: 0;
}

/* Styles pour l'intro */
.rs-intro-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 30px;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}
.rs-intro-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
}
.rs-mydrop-icon {
  height: 50px;
  filter: var(--logo-filter);
}
.rs-creation-gif {
  height: 150px;
}

.rs-intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
}

.rs-intro-content h2 {
  font-size: 28px;
  color: var(--font-black);
  font-weight: 600;
  margin: 0;
}

.rs-intro-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--font-gray);
  margin: 0;
}


.rs-user-name {
  color: var(--primary-color);
}
.rs-question-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  user-select: none;
}

.rs-question-header h2 {
  font-size: 24px;
  color: var(--font-black);
  font-weight: 600;
  margin: 0;
  user-select: none;
}

.rs-question-header p {
  font-size: 16px;
  color: var(--font-gray);
  margin: 0;
  user-select: none;
}

.rs-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rs-option {
  display: flex;
  width: 100%;
  padding: 0;
  border: 1px solid var(--muted-border);
  border-radius: var(--radius-small);
  background: var(--surface-secondary);
  cursor: pointer;
  transition: background-color var(--transition-fast) ease, transform var(--transition-fast) ease;
  overflow: hidden;
  box-shadow: var(--dt-surface3-shadow);
}

.rs-option:hover {
  border-color: var(--primary-color);
  background-color: var(--purple-clear);
  transform: translateY(-3px);
}

.rs-option.selected {
  border: 2px solid var(--primary-color);
  background-color: var(--purple-clear);
}

.rs-option-content {
  display: flex;
  width: 100%;
  padding: 20px;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.rs-option-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-mini);
  background: var(--bg-blue-dark);
  flex-shrink: 0;
}
.rs-option-icon-container.automation {
  background: var(--bg-blue-dark);
}
.rs-option-icon-container.ai {
  background: linear-gradient(45deg, var(--ai-blue), var(--ai-pink));
}
.rs-option-icon-container.management {
  background: var(--background-color);
}
.rs-option-icon-container.schedule {
  background: var(--gray-clear-2);
}
.rs-option-icon-container.forms {
  background: var(--green-clear-2);
}
.rs-option-icon-container.cross-post {
  background: var(--pink);
  opacity: 0.8;
}
.rs-option-icon-container.artist {
  background: linear-gradient(45deg, var(--instagram-color), var(--pink));
  opacity: 0.7;
}
.rs-option-icon-container.community {
  background: var(--selection-blue-2);
  opacity: 0.7;
}
.rs-option-icon {
  display: flex;
  font-size: 24px;
  justify-content: center;
  align-items: center;
}
.rs-option-icon img {
  width: 24px;
  border-radius: 4px;
}
.rs-option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  box-sizing: border-box;
}
.rs-option-text h3 {
  font-size: 16px;
  color: var(--font-black);
  font-weight: 500;
  margin: 0;
  word-wrap: break-word;
  width: 100%;
}
.rs-option-text p {
  font-size: 14px;
  color: var(--font-gray);
  margin: 0;
  word-wrap: break-word;
  width: 100%;
}

.rs-textarea-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  width: 90%;
}

#rs-needs-detail {
  width: 100%;
  min-height: 150px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-small);
  font-size: 14px;
  line-height: 1.5;
  background: var(--input-bg);
  color: var(--font-black);
  resize: vertical;
  transition: border-color var(--transition-fast) ease, box-shadow var(--transition-fast) ease;
  box-sizing: border-box;
  font-family: inherit;
}

#rs-needs-detail:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--purple-clear);
}

.rs-char-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--font-gray);
  justify-content: flex-end;
  padding: 0 5px;
  user-select: none;
}

.rs-current {
  font-weight: 500;
}

.rs-minimum {
  font-weight: 500;
}

.rs-caption {
  color: var(--font-gray-clair);
  margin-left: 4px;
}

.rs-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 90px;
  border-top: 1px solid var(--border-color);
  box-sizing: border-box;
  width: 100%;
}

.rs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 30px;
  box-sizing: border-box;
  border: none;
  height: 50px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
}

.rs-btn-back {
  background: var(--bg-blue-clear);
  border: 1px solid var(--border-color);
  color: var(--font-gray);
}

.rs-btn-back:hover {
  background: var(--bg-blue-dark);
}

.rs-btn-start {
  font-size: 16px;
}
.rs-btn-start,
.rs-btn-next,
.rs-btn-submit {
  background: var(--pink);
  color: var(--bg-white);
}
.rs-btn-start:hover,
.rs-btn-next:hover,
.rs-btn-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.rs-btn i {
  font-size: 14px;
}

.hidden {
  display: none !important;
}


.rs-modal {
  animation: modalFadeIn 0.3s ease forwards;
}

