:root {
  --bg-primary: #06050c;
  --bg-secondary: rgba(16, 12, 32, 0.5);
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-text-dim: #6b7280;
  
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.4);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-gradient: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
  --accent-gradient-hover: linear-gradient(135deg, #c084fc 0%, #22d3ee 100%);
  
  --error-color: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --error-border: rgba(239, 68, 68, 0.3);
  
  --success-color: #10b981;
  --font-title: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--color-text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
}

/* Background Glowing Orbs */
.ambient-glow {
  position: fixed;
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  animation: float 20s ease-in-out infinite alternate;
}

.glow-1 {
  background: var(--accent-purple);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.glow-2 {
  background: var(--accent-cyan);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, -5%) scale(0.9); }
}

/* App Container */
.container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 1;
}

/* Header */
.header {
  text-align: center;
  margin-top: 20px;
}

.logo {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.logo-icon {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sparkle 3s ease-in-out infinite;
}

.logo span {
  color: var(--color-text-main);
}

.logo span span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
  50% { transform: scale(1.1) rotate(10deg); filter: brightness(1.3); }
}

/* Main Card */
.main-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition-smooth);
}

/* Search Box Form */
.search-box-container {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.input-youtube-icon {
  position: absolute;
  left: 18px;
  color: #ff0000;
  font-size: 1.4rem;
  pointer-events: none;
}

.search-input-wrapper input {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px 45px 16px 50px;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input-wrapper input:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.01);
}

.clear-btn,
.paste-btn {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 5px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.clear-btn:hover,
.paste-btn:hover {
  color: var(--color-text-main);
  transform: scale(1.1);
}

.hidden {
  display: none !important;
}

/* Buttons */
.glow-button {
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 0 28px;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transition: var(--transition-smooth);
}

.glow-button:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

.glow-button:active {
  transform: translateY(0);
}

/* Alert Box */
.alert-box {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: var(--border-radius-md);
  padding: 14px 18px;
  color: #fca5a5;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.3s ease-out;
}

.alert-icon {
  font-size: 1.1rem;
  color: var(--error-color);
}

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

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
  animation: fadeIn 0.3s ease-out;
}

.spinner-container {
  position: relative;
  width: 60px;
  height: 60px;
}

.spinner {
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.05);
  border-top-color: var(--accent-purple);
  border-bottom-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.pulse-ring {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  animation: pulseGlow 1.8s ease-out infinite;
}

.loading-state p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Result Card */
.result-card {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
}

.thumbnail-wrapper {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  aspect-ratio: 16/9;
  border: 1px solid var(--border-color);
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.video-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.video-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-uploader {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--border-radius-md);
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition-smooth);
}

.select-wrapper select:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.06);
}

.select-wrapper::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.download-action-btn {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.download-action-btn:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
  transform: translateY(-1px);
}

/* Toast Notification for progress */
.progress-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-content {
  background: rgba(16, 12, 32, 0.85);
  border: 1px solid var(--accent-cyan-glow);
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 380px;
}

.toast-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.toast-text {
  flex-grow: 1;
}

#toast-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.toast-subtext {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.close-toast {
  background: none;
  border: none;
  color: var(--color-text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.close-toast:hover {
  color: var(--color-text-main);
}

/* History Section */
.history-section {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-main);
}

.text-button {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.text-button:hover {
  color: var(--error-color);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 6px;
}

.history-list::-webkit-scrollbar {
  width: 6px;
}

.history-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.01);
  border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.15);
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 10px 14px;
  gap: 12px;
  transition: var(--transition-smooth);
}

.history-item:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.history-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
  min-width: 0;
  cursor: pointer;
}

.history-thumb {
  width: 56px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.05);
}

.history-details {
  flex-grow: 1;
  min-width: 0;
}

.history-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.history-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 8px;
}

.history-actions {
  display: flex;
  gap: 8px;
}

.history-icon-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.history-icon-btn:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
}

.history-icon-btn.delete-item:hover {
  background: var(--error-color);
}

/* FAQ & Features */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-section h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 10px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-item {
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-item h4 i {
  color: var(--accent-cyan);
}

.faq-item p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px 0;
  color: var(--color-text-dim);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.03);
}

.footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--accent-cyan);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .search-box-container {
    flex-direction: column;
  }
  
  .glow-button {
    padding: 16px;
    justify-content: center;
  }
  
  .result-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .thumbnail-wrapper {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .main-card {
    padding: 20px;
  }
  
  .history-section {
    padding: 20px;
  }
}

/* Progress Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 5, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

.modal-card {
  background: rgba(20, 16, 38, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(139, 92, 246, 0.1);
  width: 90%;
  max-width: 520px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h3 i {
  color: var(--accent-cyan);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--color-text-main);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-video-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.progress-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.progress-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 5px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.progress-status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

#progress-percent {
  color: var(--accent-cyan);
  font-weight: 700;
}

.modal-info-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.modal-info-box i {
  color: var(--accent-purple);
  margin-right: 4px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.modal-btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--color-text-main);
}

.btn-secondary:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Private Downloader & Password Custom CSS */
#login-container {
  max-width: 480px;
  margin: 40px auto;
  align-self: center;
}

.login-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.login-header h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 6px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.login-icon-lock {
  font-size: 2.2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulseLock 2s infinite alternate;
}

@keyframes pulseLock {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(139, 92, 246, 0.2)); }
  100% { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.4)); }
}

.login-form-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-form-container .search-input-wrapper input {
  padding-left: 45px;
  padding-right: 15px;
}

#login-submit-btn {
  justify-content: center;
  padding: 14px;
  font-size: 1.05rem;
}

/* Downloader Header */
.downloader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 8px;
}

.user-info-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c084fc;
}

.downloader-actions {
  display: flex;
  gap: 12px;
}

.icon-text-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.icon-text-btn:hover {
  color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.05);
}

.icon-text-btn.danger:hover {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
}

/* Change Password Section */
.change-pwd-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pwd-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .pwd-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.search-input-wrapper.small input {
  padding: 12px 15px 12px 40px;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.2);
}

.search-input-wrapper.small .input-youtube-icon {
  font-size: 1.1rem;
  left: 14px;
  color: var(--color-text-muted);
}

.change-pwd-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.small-glow-button {
  background: var(--accent-gradient);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
  transition: var(--transition-fast);
}

.small-glow-button:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
  transform: translateY(-1px);
}

.small-text-button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 16px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.small-text-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-main);
}
