body {
  font-family: "Inter", sans-serif;
}
.chart-container {
  position: relative;
  height: 220px;
  display: flex;
}
canvas {
  max-width: 100%;
}
.button {
  color: #1570ef;
}
.report-button {
  color: #4b5563;
  border: 1px solid #e5e7eb;
  background-color: white;
  border-radius: 0.375rem;
}

.report-button:hover {
  background-color: #16429b;
  color: white;
}

.bg-signup {
  color: #194185;
  color: #1570ef;
}

.bg-bulk-button {
  color: #b2ddff;
  color: #fecdca;
}

/* .spiral {
    background-image: url("./img/spiral.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 48px;  
    height: 48px;   
    border-radius: 9999px; 
} */

/* Custom Legend Styling */
#pieChart {
  position: relative;
}

/* This adds more spacing between the circle and text in the legend */
#pieChart + ul.chart-legend li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

#pieChart + ul.chart-legend li span.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 12px; /* Increased spacing between circle and text */
  display: inline-block;
}

/* Container and slide structure */
.slider-container {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Card styling */
.card {
  background-color: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
}

/* Chart animations */
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 3s ease-in-out forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Dot indicators */
.dot-indicator {
  height: 0.5rem;
  width: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.dot-indicator.active {
  width: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
}

/* Navigation buttons */
.prev-btn,
.next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card {
    padding: 12px;
  }

  .slider-container {
    min-height: 500px;
  }
}
.slide {
  flex-shrink: 0;
  width: 100%;
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}

/* Form element styles */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

.form-select {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}

.form-textarea {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  min-height: 6rem;
  transition: border-color 0.15s ease-in-out;
}

.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

/* Upload area styles */
.upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 0.375rem;
  padding: 2rem;
  text-align: center;
  transition: border-color 0.15s ease-in-out;
  cursor: pointer;
}

.upload-area:hover {
  border-color: #9ca3af;
}

/* File item styles */
.file-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.file-item:last-child {
  border-bottom: none;
}

/* File icon base styles */
.file-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  margin-right: 0.75rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Custom file type icons using images */
.file-icon.pdf {
  background-image: url("/app/fund-manager/img/pdf.png");
  /* No need for text content since we're using an image */
  color: transparent;
}

.file-icon.mp4 {
  background-image: url("/app/fund-manager/img/mp4.png");
  color: transparent;
}

.file-icon.mp3 {
  background-image: url("/app/fund-manager/img/mp3.png");
  color: transparent;
}

/* Fallback styles if image fails to load */
.file-icon.pdf[style*="error" i] {
  background-color: #ef4444;
  color: white;
}

.file-icon.mp4[style*="error" i] {
  background-color: #3b82f6;
  color: white;
}

.file-icon.mp3[style*="error" i] {
  background-color: #ec4899;
  color: white;
}

/* Progress bar styles */
.progress-bar {
  width: 100%;
  height: 8cap;
  background-color: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background-color: #3b82f6;
}

/* Button styles */
.btn-primary {
  background-color: #3b82f6;
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.15s ease-in-out;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: white;
  color: #374151;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #d1d5db;
  transition: background-color 0.15s ease-in-out;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

.btn-document {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background-color: #f3f4f6;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #374151;
}

.disabled-button {
  opacity: 0.7;
  cursor: not-allowed;
}

.upload-progress {
  width: 100%;
  height: 8px;
  background-color: #f3f4f6;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.upload-progress-bar {
  height: 100%;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

/* -----------Investors Dashboard--------------- */
/* Custom styles to complement Tailwind CSS */

/* Smooth transitions for elements */
.transition {
  transition: all 0.3s ease;
}

/* Custom focus styles */
input:focus,
select:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Progress bar custom styling */
.progress-line {
  height: 2px;
  transition: width 0.5s ease;
}

/* Override Tailwind font settings with system fonts */
/* body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: #333;
} */

/* Custom placeholder styling */
::placeholder {
  color: #a0aec0;
  opacity: 1;
}

/* File upload button hover effect */
.upload-btn:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* Custom date picker styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%23a0aec0" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>');
  cursor: pointer;
}

/* Make sure file icons align properly */
.file-icon {
  display: inline-flex;
  align-items: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .progress-step-text {
    display: none;
  }
}

/* Animation for success checkmark */
@keyframes checkmark {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.checkmark-animate {
  animation: checkmark 0.5s ease-in-out forwards;
}

/* Custom styles for document preview */
.document-preview {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.document-preview-content {
  aspect-ratio: 8.5 / 11;
  background-color: #f7fafc;
}

@keyframes pulse {
  0% {
      box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
      box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

.pulse-marker {
  animation: pulse 2s infinite;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

em-emoji-picker {
  --rgb-accent: 59, 130, 246;
  --rgb-background: 255, 255, 255;
  --rgb-input: 255, 255, 255;
}

emoji-picker {
  position: absolute;
  bottom: 60px;
  right: 20px;
  z-index: 10;
}

.file-upload-area {
  border: 2px dashed #d1d5db;
  transition: all 0.3s ease;
}
.file-upload-area:hover {
  border-color: #3b82f6;
  background-color: #f8faff;
}
.file-upload-area.drag-over {
  border-color: #3b82f6;
  background-color: #eff6ff;
}
