/*!
 * AI Alt Text Builder — Admin Styles
 * Version: 1.0.7
 * Modern UI for Media Library generate button, score badges & list table
 */

/* ========== GENERATE BUTTON (Media Library / Attachment) ========== */
.aatb-gen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, .25);
  text-shadow: none;
}
.aatb-gen:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
  transform: translateY(-1px);
  color: #fff !important;
}
.aatb-gen:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(37, 99, 235, .2);
}
.aatb-gen:disabled,
.aatb-gen[disabled] {
  opacity: .65;
  cursor: wait;
  transform: none;
  box-shadow: none;
  animation: aatb-pulse 1.5s ease-in-out infinite;
}

/* ========== SCORE BADGES ========== */
.aatb-score-badge,
td.aatb_score span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 4px 10px;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

/* ========== LIST TABLE SCORE COLUMN ========== */
.column-aatb_score {
  width: 100px;
}

/* ========== ATTACHMENT EDIT SCREEN ========== */
.aatb-post-wrap {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aatb-post-wrap button {
  min-width: 116px;
}

/* ========== ANIMATIONS ========== */
@keyframes aatb-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
