/* Custom Styles for Online Clipboard */
@import "tailwindcss";
/* Dark mode support */

/* Light mode improvements */
:root {
  --light-bg: #f8fafc;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  --light-text: #1e293b;
  --light-text-secondary: #64748b;
} 
button{
  cursor:pointer;
}

.light-theme {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--light-text);
}

.dark .light-theme {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dark .glass-card {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.retrieve-btn-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  font-weight: 600;
}

.retrieve-btn-gradient:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.clipboard-id-display {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Code", monospace;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark .clipboard-id-display {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clipboard-id-container {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(29, 78, 216, 0.1) 100%
  );
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.clipboard-id-container::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(59, 130, 246, 0.1) 50%,
    transparent 70%
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.floating-helper {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: none;
  outline: none;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.floating-btn.report {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.floating-btn.feedback {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.floating-label {
  position: absolute;
  right: 70px;
  background: rgba(30, 41, 59, 0.95);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover + .floating-label {
  opacity: 1;
  transform: translateX(0);
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  animation: slide-up 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

.tab-content {
  animation: slide-down 0.3s ease-out;
}

/* Professional delete modal */
.delete-modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  border-left: 6px solid #ef4444;
}

.dark .delete-modal-content {
  background: linear-gradient(135deg, #1f2937 0%, #450a0a 100%);
  border-left: 6px solid #dc2626;
}

.delete-icon {
  background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%);
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 28px;
}

.dark .delete-icon {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.dark .faq-item {
  border-bottom: 1px solid #334155;
}

.faq-question {
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #3b82f6;
}

.dark .faq-question:hover {
  color: #60a5fa;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.toast-show {
  opacity: 100 !important;
}
.toast-hide {
  opacity: 0 !important;
}
/* Enhanced Loader Styles */
.loader-container {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(40, 100, 197, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: loader-spin 1s linear infinite;
  will-change: transform;
}

.loader-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 3px solid rgba(96, 165, 250, 0.2);
  border-top-color: #60a5fa;
  border-radius: 50%;
  animation: loader-spin-reverse 0.8s linear infinite;
  will-change: transform;
}

.loader-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  border-radius: 50%;
  animation: loader-pulse 1.5s ease-in-out infinite;
  will-change: transform, opacity;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.loader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
  animation: particle-float 2s ease-in-out infinite;
  will-change: transform, opacity;
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

.particle-1 {
  top: 10%;
  left: 50%;
  animation-delay: 0s;
}

.particle-2 {
  top: 50%;
  right: 10%;
  animation-delay: 0.5s;
}

.particle-3 {
  bottom: 10%;
  left: 50%;
  animation-delay: 1s;
}

.particle-4 {
  top: 50%;
  left: 10%;
  animation-delay: 1.5s;
}

.loader-text {
  animation: loader-text-pulse 1.5s ease-in-out infinite;
  will-change: opacity;
}

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

@keyframes loader-spin-reverse {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes loader-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

@keyframes particle-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(10px, -10px) scale(1.2);
    opacity: 1;
  }
}

@keyframes loader-text-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .loader-container {
    width: 60px;
    height: 60px;
  }

  .loader-inner {
    width: 45px;
    height: 45px;
  }

  .loader-core {
    width: 15px;
    height: 15px;
  }

  .particle {
    width: 4px;
    height: 4px;
  }
}

/* Modal Animations */
.modal-show {
    animation: fadeIn 0.2s ease-out;
}

.modal-hide {
    animation: fadeOut 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Performance optimizations */
.loader-container,
.loader-outer,
.loader-inner,
.loader-core,
.particle {
  backface-visibility: hidden;
  perspective: 1000px;
}
