/* ============================================
   Kilo Notifications
   ============================================ */

.kilo-notifications {
  display: flex;
  flex-direction: column;
  align-self: center;
  width: 100%;
  max-width: 720px;
  border-radius: 6px;
  animation: kilo-notifications-slide-in 0.3s ease-out;
  overflow: hidden;
}

@keyframes kilo-notifications-slide-in {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.kilo-notifications-card {
  background-color: var(--vscode-editor-background);
  border: 1px solid var(--vscode-panel-border);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.kilo-notifications-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kilo-notifications-title {
  font-weight: 600;
  color: var(--vscode-foreground);
  font-size: var(--kilo-font-size-13);
  flex: 1;
}

.kilo-notifications-message {
  margin: 0;
  color: var(--vscode-descriptionForeground);
  font-size: var(--kilo-font-size-12);
  line-height: 1.5;
}

.kilo-notifications-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  container-type: inline-size;
}

.kilo-notifications-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.kilo-notifications-next-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
  align-self: flex-start;
}

.kilo-notifications-cta-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  flex: 1 1 auto;
}

@container (max-width: 300px) {
  .kilo-notifications-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

.kilo-notifications-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  background: none;
  border: 1px solid var(--vscode-focusBorder);
  border-radius: 3px;
  color: var(--vscode-focusBorder);
  font-size: var(--kilo-font-size-12);
  font-family: var(--vscode-font-family);
  cursor: pointer;
  white-space: nowrap;
}

.kilo-notifications-action-btn:hover {
  background-color: var(--vscode-toolbar-hoverBackground);
}

.kilo-notifications-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  background-color: var(--vscode-button-background);
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--vscode-button-foreground);
  font-size: var(--kilo-font-size-12);
  font-family: var(--vscode-font-family);
  cursor: pointer;
  white-space: nowrap;
}

.kilo-notifications-primary-btn:hover {
  background-color: var(--vscode-button-hoverBackground);
}

.kilo-notifications-back-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--vscode-descriptionForeground);
  font-size: var(--kilo-font-size-12);
}

.kilo-notifications-back-link:hover {
  color: var(--vscode-foreground);
}

.kilo-notifications-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  color: var(--vscode-descriptionForeground);
  display: inline-flex;
  align-items: center;
}

.kilo-notifications-nav-btn:hover {
  color: var(--vscode-foreground);
}

.kilo-notifications-nav-count {
  font-size: var(--kilo-font-size-12);
  color: var(--vscode-descriptionForeground);
  white-space: nowrap;
  padding: 0 4px;
}
