/* Transfer Options Modal Styles - Refined Design Match */
#tsubs-transfer-options-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 17, 23, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
}

.tsubs-to-section {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  /* Slightly wider to match design better */
  padding: 32px 30px;
  position: relative;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.08);
}

.tsubs-to-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0px;
}

.tsubs-to-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #121117;
  position: absolute;
  top: 24px;
  right: 24px;
}

.tsubs-to-content {
  text-align: left;
}

.tsubs-to-title {
  font-size: 28px;
  /* Larger to match design */
  font-weight: 700;
  color: #121117;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tsubs-to-balance {
  font-size: 14px;
  font-weight: 600;
  color: #121117;
  margin-bottom: 32px;
}

.tsubs-to-options-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tsubs-to-option-card {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 10px;
  padding: 16px;
  border: 1.5px solid #dcdce5;
  border-radius: 6px;
  /* Smoother radius */
  cursor: pointer;
  transition: all 0.2s ease;
}

.tsubs-to-option-card:hover {
  background-color: #f4f4f8;
  border-color: #dcdce5;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.04);

  .tsubs-to-avatars-flow {
    background-color: #f4f4f8;
  }
}

.tsubs-to-visual-wrapper {
  width: fit-content;
  /* Wider to accommodate the flow design */
  /* height: 56px; */
  /* border: 1px solid #dcdce5; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
}

[data-action="add-tutor"] .tsubs-to-visual-wrapper,
[data-action="transfer-lessons"] .tsubs-to-visual-wrapper,
[data-action="find-tutor"] .tsubs-to-visual-wrapper {
  background-color: #ebebf1;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #ebebf1;
}

/* Custom visual for the first card */
.tsubs-to-avatars-flow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tsubs-to-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.tsubs-to-question-mark {
  width: 24px;
  height: 24px;
  background: #ebebf1;
  border: 1px solid #ebebf1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #121117;
}

.tsubs-to-option-text {
  flex-grow: 1;
}

.tsubs-to-option-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: #121117;
  margin: 0 0 4px 0;
}

.tsubs-to-option-text p {
  font-size: 13px;
  line-height: 1.5;
  color: #4d4c5c;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .tsubs-to-section {
    padding: 24px 20px;
    margin: 0 16px;
  }

  .tsubs-to-title {
    font-size: 24px;
  }

  .tsubs-to-option-card {
    padding: 16px;
    gap: 16px;
  }

  .tsubs-to-visual-wrapper {
    width: 70px;
  }

  #tsubs-transfer-options-backdrop .tsubs-to-section {
    min-height: 100%;
    min-width: 100%;
    border-radius: 0;
    padding-top: 80px;
  }
}