.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.5rem rgba(var(--primary-color), 0.25) !important;
}

.settings-user {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.settings-user-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.settings-user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-user-title {
  margin-top: 10px;
  text-align: center;
}

.settings-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.settings-link {
  margin-bottom: 10px;
}

.settings-link:hover {
  background-color: #f0f0f0;
}

.settings-link.active {
  background-color: #f0f0f0;
}

.subscription-box {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 10px;
}

.subscription-box h4 {
  margin-bottom: 10px;
}

.subscription-box p {
  margin-bottom: 0;
}

.settings-user-img {
  position: relative;
}

.settings-user-img-change {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(20, 20, 20, 0.15);
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-user-img-change:hover {
  background-color: rgba(20, 20, 20, 0.3);
}

/* TTS Navigation Buttons */
.tts-nav-btn {
  background: #fff;
  color: #000;
  border: 1px solid #e5e7eb;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: "Nunito Sans", sans-serif;
}

.tts-nav-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.tts-nav-btn.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.tts-nav-btn.active:hover {
  background: #333;
}

/* Main Card */
.tts-main-card {
  font-family: "Nunito Sans", sans-serif;
}

/* Text Input */
/* #tts-text-input {
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            padding: 20px;
            font-size: 16px;
            line-height: 1.6;
            resize: vertical;
            font-family: "Nunito Sans", sans-serif;
        }

        #tts-text-input:focus {
            border-color: #000;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
        } */

/* Voice Buttons */
.tts-voice-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  font-family: "Nunito Sans", sans-serif;
}

.tts-voice-btn:hover {
  border-color: var(--primary-color);
}

.tts-voice-btn.active,
.tts-voice-btn.selected {
  border-color: var(--primary-color);
  background: #f9fafb;
}

.tts-voice-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tts-voice-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #030925;
  font-family: "Livvic", sans-serif;
}

.tts-voice-desc {
  font-size: 12px;
  color: #6b7280;
}

/* Language Selector */
/* .tts-language-select {
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            padding: 10px 40px 10px 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            appearance: none;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'0 0 12 12\'><path fill=\'%23333\' d=\'M6 9L1 4h10z\'/></svg>');
            background-repeat: no-repeat;
            background-position: right 12px center;
            font-family: "Nunito Sans", sans-serif;
        }

        .tts-language-select:focus {
            border-color: #000;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
            outline: none;
        } */

/* Playback Buttons */
.tts-download-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #030925;
}

.tts-download-btn:hover {
  border-color: var(--primary-color);
  background: #f9fafb;
}

.tts-generate-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-family: "Nunito Sans", sans-serif;
  position: relative;
}

.tts-generate-btn:hover:not(:disabled) {
  background: var(--secondary-color);
}

.tts-generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Audio Player Container */
.tts-audio-player-container {
  animation: fadeIn 0.3s ease-in;
}

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

.tts-audio-player-wrapper {
  font-family: "Nunito Sans", sans-serif;
}

#tts-audio-player {
  border-radius: 12px;
  background: #f9fafb;
}

.tts-download-btn {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #030925;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
}

.tts-download-btn:hover {
  border-color: var(--primary-color);
  background: #f9fafb;
}

/* Footer */
.tts-footer-text {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
}

/* Utility Classes */
.gap-3 {
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .tts-navbar {
    flex-direction: column;
  }

  .tts-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .tts-playback-controls {
    width: 100%;
    justify-content: space-between;
  }

  .tts-main-card {
    padding: 20px !important;
  }
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: #f0f0f0;
  color: #000;
}

.social-button:hover {
  background-color: #e0e0e0;
  color: #000;
}

.divider-text {
  position: relative;
  display: inline-block;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  padding: 0 10px;
  text-align: center;
  width: 100%;
  margin-bottom: 10px;

  background-color: #fff;
}

.divider-text::before,
.divider-text::after {
  content: "";
  position: absolute;
}

.payment-method {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 20px 15px;
}

.payment-img {
  position: relative;
  margin-right: 10px;
  z-index: 1;
}

.payment-img img {
  height: 25px;
}

.payment-title {
  position: relative;
  font-weight: 500;
  z-index: 1;
}

.payment-method .form-check-input {
  margin-top: 0;
  margin-left: auto;
  z-index: 1;
  right: 15px;
}

.payment-method .form-check-label {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 2;
}

.payment-method .form-check-input + ::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 1px solid #eee;
  border-radius: 5px;
}

.payment-method .form-check-input:checked + ::after {
  border: 1px solid var(--primary-color);
}

.error-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #dc3545;
}

.error-text {
  font-size: 24px;
}

.language-item-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  /* padding: 6px 10px; */
  font-size: 1rem;
  font-weight: 600;
  -webkit-transition: all 0.15s linear;
  transition: all 0.15s linear;
  border-radius: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.language-item-link .language-item-image {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.language-item-link .language-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.language-item-link .language-item-name {
  white-space: nowrap;
  flex-shrink: 0;
}
