/* =====================================================
   Social Posting Modal
   ===================================================== */

.social-posting-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.social-posting-modal {
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background-color: #002224;
  border-radius: 16px;
  border: 1px solid rgba(166, 255, 234, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.social-posting-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-posting-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.social-posting-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.social-posting-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.social-posting-content {
  display: flex;
  flex: 1;
  overflow: hidden;
}

@media (max-width: 768px) {
  .social-posting-content {
    flex-direction: column;
  }
}

/* Video Preview Section */
.social-posting-preview {
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #001a1c;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

@media (max-width: 768px) {
  .social-posting-preview {
    width: 100%;
    height: 80vh;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.social-posting-video-container {
  max-width: 100%;
  max-height: 100%;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
}

.social-posting-video.horizontal {
  display: block;
  width: 100%;
  height: auto;
}

.social-posting-video.vertical {
  display: block;
  max-height: 100%;
  width: auto;
}

/* Form Section */
.social-posting-form {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* .social-posting-video-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-posting-label-badge {
  padding: 0.375rem 0.75rem;
  background: rgba(166, 130, 255, 0.15);
  border: 1px solid rgba(166, 130, 255, 0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #a682ff;
}

.social-posting-add-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  cursor: pointer;
} */

.social-posting-video-meta {
  padding: 0.5rem;
}

.social-posting-video-title {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  margin: 0 0 0.25rem 0;
}

.social-posting-video-specs {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.social-posting-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.social-posting-label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.social-posting-label .required {
  color: #a6ffea;
}

.social-posting-input,
.social-posting-select,
.social-posting-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 14px;
  font-family: 'Pretendard', sans-serif;
  transition: border-color 0.2s;
}

.social-posting-input::placeholder,
.social-posting-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* SEO 자동 생성 shimmer 효과 */
@keyframes seo-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.seo-input-wrapper {
  position: relative;
}

.seo-input-wrapper .social-posting-input,
.seo-input-wrapper .social-posting-textarea {
  width: 100%;
}

.seo-shimmer-text {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 14px;
  font-family: 'Pretendard', sans-serif;
  background: linear-gradient(
    90deg,
    rgba(166, 255, 234, 0.25) 0%,
    #a6ffea 40%,
    rgba(166, 255, 234, 0.25) 80%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: seo-shimmer 3s linear infinite;
}

.seo-input-wrapper:has(.social-posting-textarea) .seo-shimmer-text {
  top: 14px;
  transform: none;
}

.social-posting-input:focus,
.social-posting-select:focus,
.social-posting-textarea:focus {
  outline: none;
  border-color: rgba(166, 255, 234, 0.4);
}

.social-posting-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.social-posting-select option {
  background-color: #002224;
  color: #FFFFFF;
}

.social-posting-textarea {
  resize: vertical;
  min-height: 80px;
}

.social-posting-char-count {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.social-posting-loading,
.social-posting-no-accounts {
  padding: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.social-posting-no-accounts-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
}

/* Radio Group */
.social-posting-radio-group {
  display: flex;
  gap: 1.25rem;
}

.social-posting-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.social-posting-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #a6ffea;
  cursor: pointer;
}

.social-posting-radio .radio-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.social-posting-radio .radio-label.disabled {
  color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   Schedule DateTime Picker
   ===================================================== */

.schedule-datetime-picker {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-calendar {
  width: 100%;
}

.mini-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mini-calendar-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mini-calendar-nav {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.mini-calendar-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.mini-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.mini-calendar-day-label {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 0;
}

.mini-calendar-cell {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 5px 2px;
  border-radius: 6px;
  text-align: center;
  transition: background 0.15s;
}

.mini-calendar-cell:hover:not(.disabled):not(.selected) {
  background: rgba(255, 255, 255, 0.1);
}

.mini-calendar-cell.other-month {
  color: rgba(255, 255, 255, 0.25);
}

.mini-calendar-cell.today {
  color: #a6ffea;
  font-weight: 600;
}

.mini-calendar-cell.selected {
  background: #a65eff;
  color: #fff;
  font-weight: 600;
}

.mini-calendar-cell.disabled {
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.schedule-time-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-time-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.schedule-time-selects {
  display: flex;
  gap: 8px;
}

.schedule-time-select {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 10px;
  cursor: pointer;
  outline: none;
  appearance: auto;
}

.schedule-time-select:focus {
  border-color: rgba(166, 95, 255, 0.6);
}

.schedule-time-select option {
  background: #1a2a2a;
  color: rgba(255, 255, 255, 0.9);
}

.schedule-datetime-preview {
  font-size: 0.8rem;
  color: #a65eff;
  font-weight: 600;
  margin: 0;
}

/* Footer */
.social-posting-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.social-posting-footer-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.social-posting-link {
  color: #a6ffea;
  text-decoration: underline;
}

.social-posting-actions {
  display: flex;
  gap: 0.75rem;
}

.social-posting-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.social-posting-btn.cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.social-posting-btn.cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.social-posting-btn.submit {
  background: linear-gradient(135deg, #a682ff 0%, #8b5cf6 100%);
  border: none;
  color: #FFFFFF;
}

.social-posting-btn.submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #9570f0 0%, #7c4fe0 100%);
}

.social-posting-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .social-posting-modal {
    max-height: 95vh;
  }

  .social-posting-header {
    padding: 1rem;
  }

  .social-posting-form {
    padding: 1rem;
  }

  .social-posting-footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .social-posting-footer-note {
    text-align: center;
  }

  .social-posting-actions {
    width: 100%;
  }

  .social-posting-btn {
    flex: 1;
  }

  .social-posting-radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Custom Scrollbar for Social Posting Modal */
.social-posting-modal::-webkit-scrollbar,
.social-posting-content::-webkit-scrollbar,
.social-posting-form::-webkit-scrollbar {
  width: 6px;
}

.social-posting-modal::-webkit-scrollbar-track,
.social-posting-content::-webkit-scrollbar-track,
.social-posting-form::-webkit-scrollbar-track {
  background: #001a1c;
}

.social-posting-modal::-webkit-scrollbar-thumb,
.social-posting-content::-webkit-scrollbar-thumb,
.social-posting-form::-webkit-scrollbar-thumb {
  background: #003d40;
  border-radius: 3px;
}

.social-posting-modal::-webkit-scrollbar-thumb:hover,
.social-posting-content::-webkit-scrollbar-thumb:hover,
.social-posting-form::-webkit-scrollbar-thumb:hover {
  background: #004d50;
}

/* Firefox scrollbar */
.social-posting-modal,
.social-posting-content,
.social-posting-form {
  scrollbar-width: thin;
  scrollbar-color: #003d40 #001a1c;
}

/* Custom Channel Dropdown */
.social-posting-channel-dropdown {
  position: relative;
}

.social-posting-channel-trigger {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-family: 'Pretendard', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.social-posting-channel-trigger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.social-posting-channel-trigger.open {
  border-color: rgba(166, 255, 234, 0.4);
}

.social-posting-channel-selected {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.social-posting-channel-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.social-posting-channel-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.social-posting-channel-trigger.open .social-posting-channel-arrow {
  transform: rotate(180deg);
}

.social-posting-channel-placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.social-posting-channel-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background-color: #003538;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-posting-channel-option {
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-family: 'Pretendard', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: background-color 0.15s;
}

.social-posting-channel-option:hover {
  background-color: rgba(166, 255, 234, 0.1);
}

.social-posting-channel-option.selected {
  background-color: rgba(166, 255, 234, 0.15);
}

.social-posting-channel-option-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}


/* ============================================
   Upload Progress Modal Styles
   ============================================ */

.upload-progress-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 1rem;
}

.upload-progress-modal {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #003538 0%, #002224 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.upload-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-progress-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.upload-progress-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  transition: color 0.2s;
}

.upload-progress-close:hover {
  color: #FFFFFF;
}

.upload-progress-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Spinner */
.upload-progress-spinner {
  width: 64px;
  height: 64px;
}

.upload-spinner-svg {
  width: 100%;
  height: 100%;
  animation: upload-spinner-rotate 1.5s linear infinite;
}

.upload-spinner-svg circle {
  stroke: #a6ffea;
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: upload-spinner-dash 1.5s ease-in-out infinite;
}

@keyframes upload-spinner-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes upload-spinner-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* Status Icons */
.upload-progress-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-progress-icon.success {
  background: rgba(166, 255, 234, 0.15);
  color: #a6ffea;
}

.upload-progress-icon.error {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}

/* Status Text */
.upload-progress-status {
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.upload-progress-status.completed {
  color: #a6ffea;
}

.upload-progress-status.failed {
  color: #f87171;
}

/* Progress Bar */
.upload-progress-bar-container {
  width: 100%;
  max-width: 280px;
  position: relative;
}

.upload-progress-bar-container::before {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.upload-progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #a6ffea 0%, #4fd1c5 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.upload-progress-percent {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Info Section */
.upload-progress-info {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
}

.upload-progress-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.upload-progress-info-row + .upload-progress-info-row {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-progress-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.upload-progress-value {
  font-size: 0.875rem;
  color: #FFFFFF;
  text-align: right;
  word-break: break-word;
}

/* Error Message */
.upload-progress-error {
  width: 100%;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 8px;
  padding: 0.875rem 1rem;
}

.upload-progress-error p {
  margin: 0;
  font-size: 0.875rem;
  color: #f87171;
  text-align: center;
}

/* YouTube Link */
.upload-progress-youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #FF0000;
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.upload-progress-youtube-link:hover {
  background: #CC0000;
}

.upload-youtube-icon {
  width: 20px;
  height: 20px;
}

/* Footer */
.upload-progress-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.upload-progress-calendar-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.upload-progress-calendar-link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.upload-progress-btn {
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-progress-btn.primary {
  background: linear-gradient(135deg, #a6ffea 0%, #4fd1c5 100%);
  border: none;
  color: #002224;
}

.upload-progress-btn.primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.upload-progress-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* Calendar panel scrollbar */
.calendar-panel-scroll::-webkit-scrollbar {
  width: 4px;
}

.calendar-panel-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.calendar-panel-scroll::-webkit-scrollbar-thumb {
  background: #067C80;
  border-radius: 999px;
}

.calendar-panel-scroll::-webkit-scrollbar-thumb:hover {
  background: #088a8e;
}

/* Firefox */
.calendar-panel-scroll {
  scrollbar-width: thin;
  scrollbar-color: #067C80 transparent;
}

/* =====================================================
   Tutorial Overlay
   ===================================================== */

.tutorial-overlay-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
}

.tutorial-overlay-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  cursor: default;
}

.tutorial-overlay-blocker {
  position: fixed;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: all;
}

@keyframes tutorial-pulse {
  0%, 100% {
    border-color: rgba(166, 255, 234, 0.9);
    box-shadow: 0 0 0 2px rgba(166, 255, 234, 0.3),
                0 0 16px 4px rgba(166, 255, 234, 0.35),
                0 0 40px 8px rgba(166, 255, 234, 0.15);
  }
  50% {
    border-color: rgba(166, 255, 234, 0.5);
    box-shadow: 0 0 0 5px rgba(166, 255, 234, 0.12),
                0 0 32px 10px rgba(166, 255, 234, 0.5),
                0 0 64px 20px rgba(166, 255, 234, 0.2);
  }
}

.tutorial-spotlight-ring {
  position: fixed;
  border: 4px solid rgba(166, 255, 234, 0.85);
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(166, 255, 234, 0.2), 0 0 12px 2px rgba(166, 255, 234, 0.15);
  pointer-events: none;
  z-index: 10001;
  animation: tutorial-pulse 2s ease-in-out infinite;
}

.tutorial-tooltip {
  position: fixed;
  pointer-events: all;
  z-index: 10002;
  display: flex;
  width: 370px;
  padding: 20px;
  flex-direction: column;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--Color-teal-600, #046266);
  background: var(--Color-teal-800, #002224);
}

.tutorial-tooltip-title {
  align-self: stretch;
  color: rgba(255, 255, 255, 0.70);
  /* 14 */
  font-family: Pretendard;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 128.571% */
}

.tutorial-tooltip-desc {
  display: flex;
  padding-bottom: 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  align-self: stretch;
  line-height: 1.5;
  white-space: pre-line;
  align-self: stretch;
  color: var(--Color-white, #FFF);
  font-family: Pretendard;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 133.333% */
  letter-spacing: -0.108px;
}

.tutorial-tooltip-note {
  align-self: stretch;
  color: rgba(255, 255, 255, 0.60);
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: -0.072px;
  margin: -8px 0 14px;
  white-space: pre-line;
}

.tutorial-tooltip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tutorial-tooltip-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tutorial-tooltip-counter {
  color: rgba(255, 255, 255, 0.60);
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 12px */
  letter-spacing: -0.072px;
}

.tutorial-tooltip-actions {
  display: flex;
  gap: 10px;
}

.tutorial-btn-skip {
  color: rgba(255, 255, 255, 0.60);
  font-family: Pretendard;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 12px */
  letter-spacing: -0.072px;
}

.tutorial-btn-skip:hover {
  color: rgba(255, 255, 255, 0.7);
}

.tutorial-btn-prev {
  display: flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background: var(--Color-teal-200, #9BCACC);
  color: var(--Color-teal-800, #002224);
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 13px */
  letter-spacing: -0.078px;
}

.tutorial-btn-prev:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tutorial-btn-next {
  display: flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background: var(--Color-teal-200, #9BCACC);
  color: var(--Color-teal-800, #002224);
  font-family: Pretendard;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 13px */
  letter-spacing: -0.078px;
}

.tutorial-btn-next:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* 말풍선 variant — 색상은 기본 tooltip과 동일, 꼬리만 추가 */
.tutorial-tooltip-bubble {
  border-radius: 12px;
}

/* 꼬리 (화살표) */
.tutorial-tooltip-bubble::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.tutorial-tooltip-bubble--bottom::before {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: #1a2630;
}

.tutorial-tooltip-bubble--top::before {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: #1a2630;
}

.tutorial-tooltip-bubble--right::before {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-right-color: #1a2630;
}

.tutorial-tooltip-bubble--left::before {
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-left-color: #1a2630;
}

.tutorial-tooltip-action-hint {
  font-size: 11px;
  color: #a6ffea;
  margin: 8px 0 0;
  opacity: 0.8;
}

/* 튜토리얼 재시작 팝업 */
.tutorial-restart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.tutorial-restart-popup {
  background: #1a2630;
  border: 1px solid rgba(166, 255, 234, 0.25);
  border-radius: 14px;
  padding: 24px 28px;
  width: 320px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.tutorial-restart-title {
  font-size: 16px;
  font-weight: 700;
  color: #a6ffea;
  margin: 0 0 10px;
}

.tutorial-restart-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 20px;
  line-height: 1.5;
}

.tutorial-restart-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.tutorial-restart-cancel {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 7px 16px;
}

.tutorial-restart-cancel:hover {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
}

.tutorial-restart-confirm {
  font-size: 13px;
  font-weight: 600;
  color: #0d1a1f;
  background: #a6ffea;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 7px 18px;
}

.tutorial-restart-confirm:hover {
  background: #c0fff2;
}

/* 사이드바 튜토리얼 버튼 */
.tutorial-restart-fab {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0, 34, 36, 0.85);
  border: 1px solid rgba(166, 255, 234, 0.25);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 13px;
  backdrop-filter: blur(6px);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tutorial-restart-fab:hover {
  background: rgba(166, 255, 234, 0.12);
  border-color: rgba(166, 255, 234, 0.5);
  color: #a6ffea;
}

/* 튜토리얼 토글 버튼 */
.tutorial-toggle-fab {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0, 34, 36, 0.85);
  border: 1px solid rgba(166, 255, 234, 0.25);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 13px;
  backdrop-filter: blur(6px);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tutorial-toggle-fab:hover {
  background: rgba(166, 255, 234, 0.12);
  border-color: rgba(166, 255, 234, 0.5);
  color: #a6ffea;
}

.tutorial-toggle-fab.active {
  color: #a6ffea;
  border-color: rgba(166, 255, 234, 0.4);
}

@media (max-width: 767px) {
  .tutorial-toggle-fab {
    display: none;
  }
}

.tutorial-toggle-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.tutorial-toggle-badge.on {
  background: #a6ffea;
  color: #002224;
}

.tutorial-toggle-badge.off {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
}

/* BusinessNameInputModal */
.manual-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manual-modal {
  background: #1a2a2b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 375px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
}

.manual-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.manual-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.manual-modal-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(155, 202, 204, 0.7);
  padding: 15px 20px 0;
  line-height: 1.6;
}

.manual-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.manual-modal-close:hover {
  color: #fff;
}

.manual-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 24px;
}

.manual-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manual-modal-label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.manual-modal-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(155, 202, 204, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.manual-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.manual-modal-input:focus {
  border-color: #9BCACC;
}

.manual-modal-city-btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(155, 202, 204, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.manual-modal-city-btn.selected {
  color: #fff;
}

.manual-modal-city-btn:hover {
  border-color: #9BCACC;
}

.manual-modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.manual-modal-cancel {
  flex: 1;
  padding: 11px 0;
  border-radius: 8px;
  border: 1px solid rgba(155, 202, 204, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.manual-modal-cancel:hover {
  background: rgba(155, 202, 204, 0.08);
}

.manual-modal-submit {
  flex: 2;
  padding: 11px 0;
  border-radius: 8px;
  border: none;
  background: #9BCACC;
  color: #1a2a2b;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.manual-modal-submit:hover:not(:disabled) {
  background: #b0d8da;
}

.manual-modal-submit:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
