/* ============================================
   GOOJ Personal Center — Premium Edition
   Design: Hero Banner + Tab Nav + Spacious Cards
   ============================================ */

/* ===== Layout Container ===== */
.profile-page {
  min-height: calc(100vh - var(--header-height));
  padding: 0 20px 80px;
}

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   HERO BANNER
   ============================================ */
.profile-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  margin-bottom: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

/* Subtle glow behind avatar */
.profile-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.profile-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-avatar-wrap {
  position: relative;
  z-index: 1;
}

.hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 4px var(--bg-card), 0 0 0 6px rgba(0,212,255,0.15);
}

/* Pulse ring indicator */
.hero-avatar::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.1);
  opacity: 0;
  animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.hero-name {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-email {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-email .verified-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16,185,129,0.4);
}

.hero-email .unverified-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
}

.hero-stats {
  display: flex;
  gap: clamp(12px, 3vw, 32px);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  min-width: 100px;
  transition: border-color 0.25s ease;
}

.hero-stat:hover {
  border-color: rgba(0,212,255,0.3);
}

.hero-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   TAB NAVIGATION
   ============================================ */
.profile-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 32px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar { display: none; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  position: relative;
}

.sidebar-link svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.sidebar-link:hover svg {
  opacity: 0.8;
}

.sidebar-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.12);
}

.sidebar-link.active svg {
  opacity: 1;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.profile-section {
  display: none;
  animation: sectionIn 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes sectionIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-section.active {
  display: block;
}

.section-heading {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 32px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, #00d4ff, #8b5cf6);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: -24px 0 28px;
  padding-left: 18px;
  line-height: 1.6;
}

/* ============================================
   PROFILE FORM — Magazine Layout
   ============================================ */
.profile-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .profile-form-wrap {
    grid-template-columns: 1fr;
  }
}

.profile-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.25s ease;
}

.profile-form-card:hover {
  border-color: var(--border-hover);
}

.profile-form-card.gooj-form-full {
  grid-column: 1 / -1;
}

.profile-form-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-form-card h3 .card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0,212,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* ===== Avatar Upload ===== */
.avatar-upload {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.avatar-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.avatar-preview::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.2);
}

.avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avatar-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
}

.avatar-upload-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(0,212,255,0.06);
}

.avatar-remove-btn {
  padding: 8px 16px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  background: transparent;
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
}

.avatar-remove-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.35);
}

/* ===== Form Fields ===== */
.profile-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.profile-form .form-group:last-of-type {
  margin-bottom: 0;
}

.profile-form .form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-form .form-group input {
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-family);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.profile-form .form-group input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.profile-form .form-group input.input-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.field-note {
  font-size: 12px;
  margin-top: 2px;
}

.field-value {
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
}

.account-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-cyan);
}

.form-success {
  padding: 12px 16px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  color: #10b981;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.form-error {
  padding: 12px 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* ===== Action Button ===== */
.profile-form .auth-btn,
.profile-form-card .auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #00d4ff, #8b5cf6);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--font-family);
  position: relative;
  overflow: hidden;
}

.profile-form .auth-btn::before,
.profile-form-card .auth-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.profile-form .auth-btn:hover::before,
.profile-form-card .auth-btn:hover::before {
  left: 100%;
}

.profile-form .auth-btn:hover,
.profile-form-card .auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

.auth-btn-outline {
  background: transparent !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.auth-btn-outline:hover {
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.security-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.25s ease;
}

.security-block:hover {
  border-color: var(--border-hover);
}

.security-block h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.security-block p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.security-block .password-wrap {
  position: relative;
}

.security-block .password-wrap input {
  padding-right: 44px;
}

.security-block .toggle-pw {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.security-block .toggle-pw:hover {
  opacity: 1;
}

/* ============================================
   ANALYSIS CARDS — Premium List
   ============================================ */
.analyses-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.analyses-summary-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.analyses-summary-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.analyses-summary-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.analyses-summary-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Individual Analysis Card */
.analysis-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 10px;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle left accent bar on hover */
.analysis-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, #00d4ff, #8b5cf6);
  border-radius: 0 3px 3px 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.analysis-card:hover {
  border-color: rgba(0,212,255,0.2);
  transform: translateX(2px);
}

.analysis-card:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.analysis-card-left {
  flex-shrink: 0;
}

.analysis-status-dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.analysis-status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.15;
}

.analysis-card-body {
  flex: 1;
  min-width: 0;
}

.analysis-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.analysis-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.analysis-card-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.analysis-card-status.status-done { background: rgba(16,185,129,0.1); color: #10b981; }
.analysis-card-status.status-processing { background: rgba(245,158,11,0.1); color: #f59e0b; }
.analysis-card-status.status-pending { background: rgba(96,165,250,0.1); color: #60a5fa; }
.analysis-card-status.status-failed { background: rgba(239,68,68,0.1); color: #ef4444; }

.analysis-card-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.analysis-stat-item {
  font-size: 13px;
  color: var(--text-secondary);
}

.analysis-stat-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.analysis-card-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}

.analysis-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(245,158,11,0.12);
  border-radius: 3px;
  overflow: hidden;
  max-width: 220px;
}

.analysis-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 3px;
  transition: width 0.6s ease;
}

.analysis-progress-fill.pulse {
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.analysis-progress-text {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.analysis-card-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.analysis-card-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.analysis-card-btn.primary {
  background: rgba(0,212,255,0.08);
  color: var(--accent-cyan);
}

.analysis-card-btn.primary:hover {
  background: rgba(0,212,255,0.2);
  transform: translateY(-1px);
}

.analysis-card-btn.ghost {
  background: transparent;
  color: var(--text-secondary);
}

.analysis-card-btn.ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.analysis-card-btn.pulse-btn {
  background: rgba(245,158,11,0.08);
  color: #f59e0b;
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.analysis-card-btn.spinning svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Pagination ===== */
.pagination-btn {
  padding: 10px 22px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 16px;
}

/* ===== Empty / Loading States ===== */
.analyses-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  transition: border-color 0.25s ease;
}

.analyses-empty:hover {
  border-color: var(--border-hover);
}

.analyses-empty svg {
  opacity: 0.3;
}

.analyses-empty h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.analyses-empty p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 20px;
}

.analyses-empty .auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00d4ff, #8b5cf6);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  font-family: var(--font-family);
}

.analyses-empty .auth-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

#analyses-loading {
  text-align: center;
  padding: 48px;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Logout Button (in tabs area) ===== */
.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  color: #ef4444;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

.sidebar-logout:hover {
  background: rgba(239,68,68,0.08);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .profile-hero {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-stat {
    min-width: 80px;
    padding: 10px 16px;
  }

  .hero-name {
    font-size: 24px;
  }

  .profile-tabs {
    gap: 2px;
    padding: 4px;
  }

  .sidebar-link {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .profile-hero {
    padding: 28px 16px;
    border-radius: 16px;
  }

  .hero-avatar {
    width: 72px;
    height: 72px;
    font-size: 26px;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stat {
    padding: 8px 12px;
    min-width: 70px;
  }

  .hero-stat-value {
    font-size: 16px;
  }

  .profile-tabs {
    border-radius: 10px;
  }

  .sidebar-link {
    padding: 8px 14px;
    font-size: 12px;
    gap: 6px;
    border-radius: 8px;
  }

  .sidebar-link svg {
    width: 14px;
    height: 14px;
  }

  .sidebar-logout {
    padding: 8px 14px;
    font-size: 12px;
    gap: 6px;
  }

  .section-heading {
    font-size: 20px;
  }

  .profile-form-card {
    padding: 20px;
  }

  .avatar-upload {
    flex-direction: column;
    align-items: flex-start;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .analysis-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .analysis-card-right {
    align-self: flex-end;
    margin-top: -8px;
  }

  .analysis-card-stats {
    gap: 12px;
  }

  .analyses-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}
