/* ══════════════════════════════════════════════════════════════
   EQUIPOS.CSS — Estilos para el Espacio Colaborativo y Chat de Voz
   ReaderPDF · Design System v1.0
   ══════════════════════════════════════════════════════════════ */

:root {
  --primary: #195B8B;
  --primary-dark: #134a73;
  --accent: #10b981;
  --accent-dark: #059669;
  --danger: #ef4444;
  --bg: #f0f4f8;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --sidebar-bg: #0f172a;
  --sidebar-text: #e2e8f0;
  --sidebar-muted: #94a3b8;
  --sidebar-hover: rgba(255,255,255,0.07);
  --sidebar-active: rgba(25,91,139,0.35);
  --radius: 14px;
  --shadow: 0 2px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.14);
  --transition: all 0.2s ease;
  --chat-self: rgba(25,91,139,0.06);
  --chat-other: #ffffff;
}

/* ── LAYOUT & SHELL ── */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── SIDEBAR ── */
.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: width 0.25s ease;
  z-index: 100;
}

.sidebar-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

.sidebar-brand img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}

.sidebar-brand span {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.sidebar-nav {
  padding: 12px 8px;
  flex: 1;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}

.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
  padding: 8px 10px 4px;
}

.sidebar-user {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
}

.sidebar-user-info {
  flex: 1;
  overflow: hidden;
}

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: var(--sidebar-muted);
}

.btn-logout {
  background: none;
  border: none;
  color: var(--sidebar-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
}

.btn-logout:hover {
  color: var(--danger);
  background: rgba(239,68,68,0.1);
}

/* ── MAIN CONTENT AREA ── */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Auth Cards specific styling to match notebooks */
.login-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(145deg, #e8eef5 0%, #f5f8fc 55%, #edf2f7 100%);
}

.auth-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
}

.auth-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.5px;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}

.auth-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 20px;
  gap: 8px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

/* ── SIDEBAR CUSTOMIZATIONS ── */
.btn-new-team {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37,99,235,0.2);
}

.btn-new-team:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.3);
}

.nav-item-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--sidebar-text);
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 4px;
}

.nav-item-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
}

.teams-list-container {
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
}

.team-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--sidebar-text);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
}

.team-list-item:hover {
  background: var(--sidebar-hover);
}

.team-list-item.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 600;
}

.team-badge {
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

/* ── ACTIVE WORKSPACE ── */
.team-workspace {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--bg);
}

.workspace-header {
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  padding: 18px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.team-info h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.team-meta {
  font-size: 12px;
  color: var(--muted);
}

.tab-bar {
  display: flex;
  gap: 8px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.workspace-body {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.tab-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── CHAT TAB CONTENT ── */
.chat-messages-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 100%);
}

.chat-message-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 75%;
}

.chat-message-row.self {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}

.chat-bubble-container {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chat-sender-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
}
.chat-message-row.self .chat-sender-name {
  text-align: right;
  margin-right: 4px;
}

.chat-bubble {
  background: var(--chat-other);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  box-shadow: var(--shadow-xs);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
  word-break: break-word;
}

.chat-message-row.self .chat-bubble {
  background: var(--chat-self);
  border-color: rgba(25,91,139,0.12);
  border-radius: 16px 16px 4px 16px;
  color: var(--primary-dark);
}

.chat-timestamp {
  font-size: 9.5px;
  color: var(--muted);
  align-self: flex-end;
  margin-top: 2px;
  opacity: 0.8;
}

/* ── VOICE CHAT AUDIO PLAYER ── */
.chat-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 250px;
  max-width: 100%;
}

.chat-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.chat-play-btn:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
}

.chat-audio-progress-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-audio-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}

.chat-message-row.self .chat-audio-slider {
  background: rgba(25,91,139,0.15);
}

.chat-audio-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.chat-audio-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}

/* ── CHAT FOOTER & MIC RECORDING ── */
.chat-input-bar {
  background: var(--surface);
  border-top: 1.5px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-record-mic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(25,91,139,0.06);
  border: 1.5px solid rgba(25,91,139,0.15);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-record-mic:hover {
  background: rgba(25,91,139,0.12);
  transform: scale(1.03);
}

.chat-text-input {
  flex: 1;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.chat-text-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(25,91,139,0.08);
}

.btn-send-message {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-send-message:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Recording overlay banner */
.recording-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: slideUpBanner 0.25s ease;
  flex-shrink: 0;
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.rec-dot-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  animation: blinkRec 1s infinite alternate;
}

@keyframes blinkRec {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.rec-timer {
  font-size: 13.5px;
  font-weight: 700;
  font-family: monospace;
}

.rec-label {
  font-size: 12.5px;
  opacity: 0.85;
}

.rec-actions {
  display: flex;
  gap: 10px;
}

.btn-rec-cancel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-rec-cancel:hover {
  background: rgba(239,68,68,0.2);
  border-color: var(--danger);
  color: var(--danger);
}

.btn-rec-stop {
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-rec-stop:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* ── SHARED LIBRARY TAB ── */
.docs-tab-content {
  padding: 24px;
  overflow-y: auto;
}

.docs-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.docs-tab-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
}

.notebooks-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* Notebook Cards */
.nb-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nb-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.nb-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nb-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nb-card-icon {
  font-size: 20px;
}

.nb-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.nb-card-preview {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.nb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.nb-owner-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── MEMBERS TAB ── */
.members-tab-content {
  padding: 24px;
  overflow-y: auto;
}

.members-dashboard {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.members-list-card, .invite-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.members-list-card h3, .invite-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.member-row:hover {
  background: rgba(25,91,139,0.03);
  border-color: var(--border);
}

.member-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.member-email {
  font-size: 11.5px;
  color: var(--muted);
}

.member-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.member-badge.owner {
  background: rgba(25,91,139,0.1);
  color: var(--primary);
}

.member-badge.admin {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
}

.member-badge.collaborator {
  background: rgba(16,185,129,0.1);
  color: var(--accent-dark);
}

.invite-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ── ONBOARDING / EMPTY ON PAGE LOAD ── */
.workspace-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 40px;
  background: var(--bg);
}

.empty-illustration {
  font-size: 64px;
  margin-bottom: 18px;
  animation: bounceTeams 2s infinite alternate;
}

@keyframes bounceTeams {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.workspace-empty-state h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.workspace-empty-state p {
  font-size: 14px;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── RESPONSIVENESS ── */
@media (max-width: 900px) {
  .app-shell {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    border-bottom: 1.5px solid rgba(255,255,255,0.07);
  }
  
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .sidebar-brand {
    margin-bottom: 0 !important;
  }
  
  .sidebar-nav {
    display: none; /* Collapsed nav on mobile */
  }
  
  .sidebar-user {
    display: none;
  }
  
  .members-dashboard {
    grid-template-columns: 1fr;
  }
}

/* ── PRESENCE & PRIVATE CHATS STYLES ── */
.presence-sidebar {
  transition: var(--transition);
}

.presence-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.presence-list-item:hover {
  background: rgba(25, 91, 139, 0.05);
  border-color: var(--border);
}

.presence-list-item.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.presence-avatar-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.presence-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--border);
  object-fit: cover;
}

.status-indicator-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.status-indicator-dot.online {
  background: #10b981; /* green */
}

.status-indicator-dot.offline {
  background: #94a3b8; /* gray */
}

.presence-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.presence-role-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  text-transform: uppercase;
}

.presence-role-tag.creador {
  background: rgba(25, 91, 139, 0.1);
  color: var(--primary);
}

.presence-role-tag.administrador {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.presence-role-tag.usuario {
  background: rgba(100, 116, 139, 0.1);
  color: var(--muted);
}

/* ── ROLE DROPDOWNS & ACTIONS ── */
.role-select {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11.5px;
  background: #fff;
  color: var(--text);
  outline: none;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
}

.role-select:focus {
  border-color: var(--primary);
}

/* ── PRIVATE CHAT STYLINGS ── */
.private-chat-banner {
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ── MODALS & DIALOGS ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--surface);
  border-radius: 20px;
  padding: 30px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: slideUpModal 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

@keyframes slideUpModal {
  from { transform: translateY(24px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--bg);
  color: var(--text);
}

.modal-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.folder-modal-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
  margin-bottom: 18px;
  box-sizing: border-box;
}

.folder-modal-input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(25, 91, 139, 0.08);
}

/* Premium Icon Picker Styling */
.nb-icon-opt {
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
  box-sizing: border-box;
}

.nb-icon-opt:hover {
  border-color: var(--primary);
  background: #fff;
  transform: scale(1.06);
}

.nb-icon-opt.selected {
  border-color: var(--primary);
  background: rgba(25, 91, 139, 0.06);
  box-shadow: 0 0 0 3px rgba(25, 91, 139, 0.1);
  font-weight: bold;
}


