/**
 * BulkActionsToolbar.css
 *
 * Sticky toolbar styles for bulk actions.
 * Dark theme with blur backdrop.
 *
 * Phase 7.4c - Shared Bulk Actions Architecture
 */

.bulk-actions-toolbar {
  position: sticky;
  top: 0;
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(151, 71, 255, 0.3);
  z-index: 10;
}

/* Info section - select all + count */
.bulk-actions-toolbar__info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bulk-actions-toolbar__select-all {
  background: transparent;
  border: none;
  padding: 4px;
  color: var(--primary-color, #9747ff);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: color 0.2s, transform 0.15s;
}

.bulk-actions-toolbar__select-all:hover {
  color: var(--primary-hover, #8637ef);
  transform: scale(1.1);
}

.bulk-actions-toolbar__select-all:active {
  transform: scale(0.95);
}

.bulk-actions-toolbar__count {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}

/* Actions section */
.bulk-actions-toolbar__actions {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

/* Action buttons */
.bulk-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bulk-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary variant */
.bulk-action-btn--primary {
  background: var(--primary-color, #9747ff);
  color: #fff;
}

.bulk-action-btn--primary:hover:not(:disabled) {
  background: var(--primary-hover, #8637ef);
}

/* Secondary variant */
.bulk-action-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.bulk-action-btn--secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Danger variant */
.bulk-action-btn--danger {
  background: rgba(211, 47, 47, 0.15);
  color: #ff4d6d;
}

.bulk-action-btn--danger:hover:not(:disabled) {
  background: rgba(211, 47, 47, 0.25);
}

/* Hide label on small screens */
.bulk-action-btn__label {
  display: inline;
}

/* Clear/Cancel button */
.bulk-actions-toolbar__clear {
  background: transparent;
  border: none;
  padding: 6px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: color 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.bulk-actions-toolbar__clear:hover {
  color: #fff;
  transform: scale(1.1);
}

.bulk-actions-toolbar__clear:active {
  transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .bulk-actions-toolbar {
    padding: 10px 12px;
    gap: 8px;
  }

  .bulk-action-btn {
    padding: 6px 8px;
  }

  .bulk-action-btn__label {
    display: none;
  }

  .bulk-actions-toolbar__count {
    font-size: 13px;
  }
}
