/*!******************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./node_modules/@assistant-ui/react-markdown/styles/dot.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************/
@keyframes aui-pulse {
  50% {
    opacity: 0.5;
  }
}

:where(.aui-md[data-status="running"]):empty::after,
:where(.aui-md[data-status="running"])
  > :where(:not(ol):not(ul):not(pre)):last-child::after,
:where(.aui-md[data-status="running"]) > pre:last-child code::after,
:where(.aui-md[data-status="running"])
  > :where(:is(ol, ul):last-child)
  > :where(li:last-child:not(:has(* > li)))::after,
:where(.aui-md[data-status="running"])
  > :where(:is(ol, ul):last-child)
  > :where(li:last-child)
  > :where(:is(ol, ul):last-child)
  > :where(li:last-child:not(:has(* > li)))::after,
:where(.aui-md[data-status="running"])
  > :where(:is(ol, ul):last-child)
  > :where(li:last-child)
  > :where(:is(ol, ul):last-child)
  > :where(li:last-child)
  > :where(:is(ol, ul):last-child)
  > :where(li:last-child)::after {
  animation: aui-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  --aui-content: "\25cf";
  content: var(--aui-content);
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./components/rate-limit/rate-limit.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************/
/* Rate Limit Status Component */
.rate-limit-status {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 0.875rem;
  border: 1px solid #e9ecef;
  margin-bottom: 1rem;
}

.rate-limit-status.loading {
  opacity: 0.7;
}

.rate-limit-status.error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.status-label {
  font-weight: 500;
  color: #6c757d;
}

.status-value {
  font-weight: 600;
  color: #495057;
}

.status-value.error {
  color: #dc3545;
}

/* Rate Limit Alert Component */
.rate-limit-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease-out;
}

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

.alert-content {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  gap: 0.75rem;
}

.alert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-text {
  flex: 1;
}

.alert-text h4 {
  margin: 0 0 0.5rem 0;
  color: #856404;
  font-size: 1rem;
  font-weight: 600;
}

.alert-text p {
  margin: 0 0 0.75rem 0;
  color: #856404;
  font-size: 0.875rem;
  line-height: 1.4;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #856404;
}

.countdown-time {
  font-weight: 600;
  color: #dc3545;
  font-family: 'Courier New', monospace;
}

.limit-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #6c757d;
}

.limit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #856404;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.alert-close:hover {
  background-color: rgba(133, 100, 4, 0.1);
}

/* Rate Limit Progress Component */
.rate-limit-progress {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.progress-label span:first-child {
  font-weight: 500;
  color: #495057;
}

.status-text {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 4px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6c757d;
}

.requests-count {
  font-weight: 500;
  color: #495057;
}

.reset-time {
  font-family: 'Courier New', monospace;
  color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rate-limit-status {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .status-item {
    justify-content: space-between;
  }
  
  .rate-limit-alert {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .rate-limit-progress {
    padding: 0.5rem;
  }
  
  .progress-info {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .rate-limit-status {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
  .rate-limit-status.error {
    background: #742a2a;
    border-color: #9b2c2c;
    color: #fed7d7;
  }
  
  .status-label {
    color: #a0aec0;
  }
  
  .status-value {
    color: #e2e8f0;
  }
  
  .rate-limit-alert {
    background: #744210;
    border-color: #d69e2e;
  }
  
  .alert-text h4,
  .alert-text p,
  .countdown {
    color: #fbd38d;
  }
  
  .rate-limit-progress {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  .progress-label span:first-child {
    color: #e2e8f0;
  }
  
  .progress-bar {
    background: #4a5568;
  }
  
  .requests-count {
    color: #e2e8f0;
  }
}

