/* ============================================
   v2/css/site.css
   استایل پاپ‌آپ‌های تخصصی + اجزای مشترک
   سایت اخبار استقلال — نسخه ۲
   ============================================ */

/* ============================================
   1) Chat Popup
   ============================================ */
.chat-card .chat-topbar {
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 56px;
  min-height: 56px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  flex-shrink: 0;
}
.chat-card .chat-topbar .title {
  color: #fff;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-card .chat-topbar .title i {
  color: var(--gold);
  font-size: 1.15rem;
}
.chat-card .chat-topbar .title .members-count {
  font-size: .7rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.chat-card .close-chat {
  background: rgba(255,255,255,.25);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  max-width: 88%;
  position: relative;
}
.chat-msg.own { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg.other { align-self: flex-start; }

.chat-msg .msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 700;
  border: 2px solid #fff;
  cursor: pointer;
}
.chat-msg .msg-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-msg .msg-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.chat-msg .msg-name {
  font-size: .68rem;
  color: #5a6a7a;
  font-weight: 600;
  padding: 0 4px;
  margin-bottom: 2px;
  cursor: pointer;
}
.chat-msg.own .msg-name { text-align: left; color: var(--primary); }

.chat-msg .msg-bubble {
  background: #fff;
  border-radius: 16px 16px 16px 4px;
  padding: 9px 13px;
  font-size: .87rem;
  line-height: 1.5;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  word-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
  position: relative;
}
.chat-msg.own .msg-bubble {
  background: var(--grad-primary);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.chat-msg .msg-time {
  font-size: .6rem;
  color: var(--text-light);
  padding: 0 6px;
  margin-top: 2px;
}
.chat-msg.own .msg-time { text-align: left; color: var(--text-muted); }

.chat-msg-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 2px 6px;
  margin-top: 2px;
}
.chat-msg-actions .action-btn {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: .7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
}
.chat-msg-actions .action-btn.liked { color: var(--danger); }
.chat-msg-actions .action-btn.disliked { color: var(--info); }

.reply-indicator {
  background: #e8f4fd;
  border: 1px solid #b8d9ff;
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: .75rem;
  color: #0d5aa0;
}
.reply-indicator .cancel-reply {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1rem;
}

.chat-blocked-notice {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 8px 0;
}
.chat-blocked-notice i {
  color: var(--danger);
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.chat-input-area {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  flex-shrink: 0;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-input-area textarea {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border-light);
  border-radius: 20px;
  font-size: .9rem;
  outline: none;
  resize: none;
  max-height: 100px;
  min-height: 42px;
  line-height: 1.5;
  background: var(--bg-light);
}
.chat-input-area textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.chat-input-area .send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21,96,189,.3);
}

.chat-guest-prompt {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  flex-shrink: 0;
}
.chat-guest-prompt p {
  font-size: .82rem;
  color: #5a6a7a;
  margin-bottom: 10px;
  line-height: 1.6;
}
.chat-guest-prompt button {
  background: var(--grad-primary);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   2) Match Popup
   ============================================ */
.match-card .match-topbar {
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 30px;
  min-height: 30px;
  font-weight: 700;
  font-size: .75rem;
  border-radius: 24px 24px 0 0;
  flex-shrink: 0;
  line-height: 30px;
  overflow: visible;
  position: relative;
}
.match-card .match-topbar .right-title { color: #fff; font-size: .75rem; }
.match-card .match-topbar .left-title { color: var(--gold); font-size: .75rem; }

.match-card .close-match {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 8px;
  background: rgba(255,255,255,.25);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  z-index: 10;
}

.match-card .match-body {
  padding: 20px 16px 24px;
  text-align: center;
  background: #fff;
  flex: 1;
  overflow-y: auto;
}

.match-card .match-date {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.match-card .teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}
.match-card .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.match-card .team .team-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}
.match-card .team .team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.match-card .team .team-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 4px;
}
.match-card .match-time {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  padding: 0 6px;
  flex-shrink: 0;
}

.match-card .countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 4px;
  max-width: 230px;
  margin-left: auto;
  margin-right: auto;
}
.match-card .cd-box {
  background: var(--grad-primary);
  color: #fff;
  border-radius: 8px;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(21,96,189,.2);
  padding: 2px;
}
.match-card .cd-box .num {
  font-size: .85rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
}
.match-card .cd-box .lbl {
  font-size: .45rem;
  color: rgba(255,255,255,.9);
}

/* ============================================
   3) Transfers Popup
   ============================================ */
.transfer-card .transfer-topbar {
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 50px;
  min-height: 50px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 24px 24px 0 0;
  flex-shrink: 0;
  position: relative;
}
.transfer-card .transfer-topbar .right-title {
  color: #fff;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.transfer-card .transfer-topbar .right-title i { color: var(--gold); }

.transfer-card .close-transfer {
  background: rgba(255,255,255,.25);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
.transfer-card .transfer-body {
  padding: 16px 14px 24px;
  flex: 1;
  overflow-y: auto;
}

.transfer-item-site {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg);
  position: relative;
}
.transfer-item-site .t-player-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  border: 2px solid var(--gold);
}
.transfer-item-site .t-player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.transfer-item-site .t-info {
  flex: 1;
  min-width: 0;
  position: relative;
}
.transfer-item-site .t-info .t-player-name {
  font-weight: 700;
  color: var(--primary);
  font-size: .98rem;
  margin-bottom: 4px;
}
.transfer-item-site .t-info .t-route {
  font-size: .78rem;
  color: #5a6a7a;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.transfer-item-site .t-info .t-route .t-from,
.transfer-item-site .t-info .t-route .t-to {
  color: var(--primary);
  font-weight: 600;
}
.transfer-item-site .t-info .t-route .t-arrow {
  color: var(--gold);
  font-size: .9rem;
}
.transfer-item-site .t-info .t-meta {
  position: absolute;
  left: 0;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.transfer-item-site .t-info .t-meta .t-type {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .65rem;
  font-weight: 600;
  white-space: nowrap;
}
.transfer-item-site .t-info .t-meta .t-time {
  font-size: .68rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================
   4) Auth Popup
   ============================================ */
.auth-card .auth-topbar {
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 56px;
  min-height: 56px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  flex-shrink: 0;
}
.auth-card .auth-topbar .title {
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-card .auth-topbar .title i { color: var(--gold); }

.auth-card .close-auth {
  background: rgba(255,255,255,.25);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.auth-card .auth-body {
  padding: 24px 20px 32px;
  flex: 1;
  overflow-y: auto;
}

.auth-step { display: none; }
.auth-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-icon-box { text-align: center; margin-bottom: 20px; }
.auth-icon-box .icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2.2rem;
  color: var(--gold);
  box-shadow: 0 8px 24px rgba(21,96,189,.25);
}
.auth-icon-box h2 {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.auth-icon-box p {
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.auth-field { margin-bottom: 16px; }
.auth-field label {
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.auth-field input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  font-size: 1rem;
  outline: none;
  text-align: center;
  letter-spacing: 2px;
  transition: border-color .3s;
  background: var(--bg-light);
}
.auth-field input:focus {
  border-color: var(--gold);
  background: #fff;
}
.auth-field input::placeholder {
  letter-spacing: 0;
  color: var(--text-light);
  font-size: .9rem;
}

.auth-primary-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(21,96,189,.25);
}
.auth-secondary-btn {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.auth-timer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .85rem;
  color: var(--text-muted);
}
.auth-timer-row .timer-num {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}
.auth-phone-display {
  background: var(--bg-light);
  border: 2px dashed var(--primary);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  margin-bottom: 18px;
  font-size: .95rem;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-phone-display i { color: var(--gold); }

/* ============================================
   5) Profile Popup
   ============================================ */
.profile-card .profile-topbar {
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  height: 56px;
  min-height: 56px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px 24px 0 0;
  flex-shrink: 0;
}
.profile-card .profile-topbar .title {
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-card .profile-topbar .title i { color: var(--gold); }

.profile-card .close-profile {
  background: rgba(255,255,255,.25);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.profile-card .profile-body {
  padding: 0 16px 32px;
  flex: 1;
  overflow-y: auto;
}

.profile-header {
  margin: -40px -16px 0;
  padding: 0 16px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.profile-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
}
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--grad-primary);
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(21,96,189,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: var(--gold);
  overflow: hidden;
  position: relative;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.profile-name-display {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.profile-phone-display {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}
.profile-phone-display i { color: var(--primary); }

.profile-member-since {
  font-size: .72rem;
  color: var(--text-light);
  background: var(--bg-light);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.profile-member-since i { color: var(--gold); margin-left: 4px; }

.public-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 14px 10px;
  border: 1px solid var(--border);
}
.public-profile-stats .stat-item { text-align: center; }
.public-profile-stats .stat-item .num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
}
.public-profile-stats .stat-item .lbl {
  font-size: .65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.profile-section {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
}
.profile-section h4 {
  color: var(--primary);
  font-size: .9rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.profile-section h4 i { color: var(--gold); }

.profile-input-group { margin-bottom: 14px; }
.profile-input-group:last-child { margin-bottom: 0; }
.profile-input-group label {
  font-size: .75rem;
  color: #5a6a7a;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.profile-input-group input,
.profile-input-group select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: .88rem;
  outline: none;
  background: #fff;
}
.profile-input-group input:focus,
.profile-input-group select:focus { border-color: var(--gold); }
.profile-input-group input:disabled {
  background: #eef2f7;
  color: var(--text-muted);
  cursor: not-allowed;
}
.profile-input-group .hint {
  font-size: .65rem;
  color: var(--text-light);
  margin-top: 4px;
}

.profile-save-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: var(--grad-primary);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(21,96,189,.25);
}
.profile-logout-btn {
  width: 100%;
  padding: 13px;
  border: 2px solid var(--danger);
  border-radius: 12px;
  background: #fff;
  color: var(--danger);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.public-profile-follow-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.public-profile-follow-btn.follow {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21,96,189,.25);
}
.public-profile-follow-btn.following {
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--border-light);
}

.followers-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg);
  cursor: pointer;
}
.followers-list-item .avatar-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}
.followers-list-item .avatar-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.followers-list-item .info { flex: 1; min-width: 0; }
.followers-list-item .info .name {
  font-weight: 700;
  color: var(--primary);
  font-size: .88rem;
}
.followers-list-item .info .meta {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================
   6) Video / Image Popup
   ============================================ */
.video-player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.video-player-wrapper video {
  width: 100%;
  max-height: 60vh;
  display: block;
}
.video-player-wrapper iframe {
  width: 100%;
  height: 60vh;
  border: none;
  display: block;
}

.image-viewer {
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.image-viewer img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.like-btn-video {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.like-btn-video.liked { color: var(--danger); }

/* ============================================
   7) Gallery Popup
   ============================================ */
.slider-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  background: var(--primary);
}
.gallery-slider-track {
  display: flex;
  transition: transform .5s ease;
  height: 100%;
}
.gallery-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: 20px;
}
.gallery-slide img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(21,96,189,.3);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}
.slider-nav.prev { left: 8px; }
.slider-nav.next { right: 8px; }

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
}
.slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all .3s;
}
.slider-dots .dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}