/* ===== ARTISTS PAGE ===== */
.artists-page { padding: 32px; max-width: 1400px; margin: 0 auto; }
.artists-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.artists-header h1 { font-size: 24px; font-weight: 700; color: #111; margin: 0; }
.artists-header p { font-size: 14px; color: #6b7280; margin: 4px 0 0 0; }
.artists-header-actions { display: flex; align-items: center; gap: 12px; }
.artists-search { position: relative; width: 280px; }
.artists-search input { width: 100%; height: 40px; padding: 0 16px 0 40px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 14px; outline: none; background: #fff; color: #111; transition: border-color .2s; }
.artists-search input:focus { border-color: #2563eb; }
.artists-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #9ca3af; pointer-events: none; }
.artists-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.artists-stat-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; }
.artists-stat-card .stat-label { font-size: 13px; color: #6b7280; margin: 0 0 4px 0; }
.artists-stat-card .stat-value { font-size: 28px; font-weight: 700; color: #111; margin: 0; }
.artists-stat-card .stat-sub { font-size: 12px; color: #9ca3af; margin: 4px 0 0 0; }
.artists-table-wrap { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; }
.artists-table { width: 100%; border-collapse: collapse; }
.artists-table th { padding: 14px 16px; text-align: left; font-size: 12px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid #e5e7eb; background: #fafbfc; user-select: none; cursor: pointer; white-space: nowrap; }
.artists-table th:hover { color: #2563eb; }
.artists-table td { padding: 14px 16px; font-size: 14px; color: #111; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.artists-table tr:hover td { background: #f9fafb; }
.artists-table tr:last-child td { border-bottom: none; }
.artist-name-cell { display: flex; align-items: center; gap: 10px; }
.artist-avatar { width: 36px; height: 36px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: #2563eb; flex-shrink: 0; overflow: hidden; }
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-name-info { line-height: 1.3; }
.artist-name-info .name { font-weight: 600; color: #111; }
.artist-name-info .sub { font-size: 12px; color: #9ca3af; }
.artist-ain { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; color: #6b7280; letter-spacing: .3px; }
.artist-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
.artist-status.pending { background: #fef3c7; color: #92400e; }
.artist-status.invited { background: #dbeafe; color: #1e40af; }
.artist-status.connected { background: #fee2e2; color: #b91c1c; }
.artist-status.active { background: #fee2e2; color: #b91c1c; }
.artist-status.suspended { background: #fee2e2; color: #991b1b; }
.artist-status.archived { background: #f3f4f6; color: #6b7280; }
.artist-status.transfer-pending { background: #fef3c7; color: #92400e; }
.artist-status.transferred { background: #e0e7ff; color: #3730a3; }
.artist-status.inactive { background: #f3f4f6; color: #6b7280; }
.artist-actions { display: flex; gap: 4px; justify-content: flex-end; }
.artist-actions .acc-btn-icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: none; background: transparent; color: #6b7280; cursor: pointer; transition: all .15s; }
.artist-actions .acc-btn-icon:hover { background: #f3f4f6; color: #2563eb; }
.artist-actions .acc-btn-icon.danger:hover { background: #fee2e2; color: #dc2626; }
.artists-pagination { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-top: 1px solid #e5e7eb; font-size: 13px; color: #6b7280; }
.artists-pagination .pagination-btns { display: flex; gap: 4px; }
.artists-pagination .pagination-btns button { width: 32px; height: 32px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #374151; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.artists-pagination .pagination-btns button:hover { border-color: #2563eb; color: #2563eb; }
.artists-pagination .pagination-btns button.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.artists-pagination .pagination-btns button:disabled { opacity: .4; cursor: default; }
.artists-empty { text-align: center; padding: 60px 20px; color: #9ca3af; }
.artists-empty svg { width: 56px; height: 56px; color: #d1d5db; margin-bottom: 16px; }
.artists-empty h3 { font-size: 16px; color: #374151; margin: 0 0 8px 0; }
.artists-empty p { font-size: 14px; color: #9ca3af; margin: 0; }

/* ===== ARTIST CREATION MODAL ===== */
.artist-create-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.artist-create-form .field-full { grid-column: 1 / -1; }
.artist-create-form label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.artist-create-form input, .artist-create-form select { width: 100%; height: 42px; padding: 0 14px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 14px; outline: none; background: #fff; color: #111; transition: border-color .2s; }
.artist-create-form input:focus, .artist-create-form select:focus { border-color: #2563eb; }
.artist-create-form .form-hint { font-size: 11px; color: #9ca3af; margin-top: 4px; }

/* ===== MANAGER DRAWER ===== */
.artist-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: var(--z-drawer); opacity: 0; transition: opacity .25s; pointer-events: none; }
.artist-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.artist-drawer { position: fixed; top: 0; right: 0; width: 640px; max-width: 100vw; height: 100vh; background: #fff; z-index: calc(var(--z-drawer) + 1); box-shadow: -8px 0 30px rgba(0,0,0,.1); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.artist-drawer.open { transform: translateX(0); }
.artist-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #e5e7eb; flex-shrink: 0; }
.artist-drawer-header h2 { font-size: 18px; font-weight: 700; color: #111; margin: 0; }
.artist-drawer-header .drawer-close { width: 36px; height: 36px; border: none; background: #f3f4f6; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #6b7280; transition: all .15s; }
.artist-drawer-header .drawer-close:hover { background: #fee2e2; color: #dc2626; }
.artist-drawer-body { flex: 1; overflow-y: auto; padding: 24px; }
.artist-drawer-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e5e7eb; padding: 0 24px; flex-shrink: 0; background: #fafbfc; }
.artist-drawer-tabs button { padding: 12px 16px; font-size: 13px; font-weight: 500; color: #6b7280; border: none; background: transparent; cursor: pointer; position: relative; white-space: nowrap; transition: color .15s; }
.artist-drawer-tabs button::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0); width: 100%; height: 2px; background: #2563eb; transition: transform .2s; }
.artist-drawer-tabs button:hover { color: #374151; }
.artist-drawer-tabs button.active { color: #2563eb; }
.artist-drawer-tabs button.active::after { transform: translateX(-50%) scaleX(1); }
.artist-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.artist-detail-grid .detail-item { }
.artist-detail-grid .detail-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #9ca3af; font-weight: 500; margin-bottom: 2px; }
.artist-detail-grid .detail-value { font-size: 14px; color: #111; }
.artist-detail-grid .detail-full { grid-column: 1 / -1; }
.artist-drawer-section { margin-bottom: 28px; }
.artist-drawer-section h3 { font-size: 14px; font-weight: 600; color: #111; margin: 0 0 12px 0; display: flex; align-items: center; gap: 8px; }
.artist-drawer-section h3 svg { width: 16px; height: 16px; color: #2563eb; }

/* Profile tab */
.artist-profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.artist-profile-form .field-full { grid-column: 1 / -1; }
.artist-profile-form label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.artist-profile-form input, .artist-profile-form select, .artist-profile-form textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; outline: none; background: #fff; color: #111; transition: border-color .2s; }
.artist-profile-form textarea { height: 80px; padding: 10px 12px; resize: vertical; font-family: inherit; }
.artist-profile-form input:focus, .artist-profile-form select:focus, .artist-profile-form textarea:focus { border-color: #2563eb; }

/* Portal tab */
.portal-status-card { background: #f9fafb; border-radius: 12px; padding: 20px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.portal-status-card .psc-left { }
.portal-status-card .psc-left h4 { font-size: 15px; font-weight: 600; color: #111; margin: 0 0 4px 0; }
.portal-status-card .psc-left p { font-size: 13px; color: #6b7280; margin: 0; }
.portal-status-card .psc-status { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px; display: inline-block; }

/* Invitation tab */
.invite-status-card { background: #f9fafb; border-radius: 12px; padding: 20px; }
.invite-status-card .isc-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.invite-status-card .isc-row .isc-label { color: #6b7280; }
.invite-status-card .isc-row .isc-value { font-weight: 500; color: #111; }

/* Audit log tab */
.audit-log-list { max-height: 500px; overflow-y: auto; }
.audit-log-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.audit-log-item:last-child { border-bottom: none; }
.audit-log-item .ali-icon { width: 32px; height: 32px; border-radius: 50%; background: #f3f4f6; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #2563eb; }
.audit-log-item .ali-content { }
.audit-log-item .ali-content .ali-action { font-size: 14px; color: #111; }
.audit-log-item .ali-content .ali-time { font-size: 12px; color: #9ca3af; }
.audit-log-empty { text-align: center; padding: 40px 20px; color: #9ca3af; font-size: 14px; }

/* Danger Zone tab */
.danger-zone { border: 1px solid #fecaca; border-radius: 12px; padding: 20px; }
.danger-zone h3 { color: #dc2626; font-size: 16px; font-weight: 700; margin: 0 0 4px 0; }
.danger-zone p { color: #6b7280; font-size: 14px; margin: 0 0 16px 0; }
.danger-actions { display: flex; flex-direction: column; gap: 12px; }
.danger-action-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fef2f2; border-radius: 10px; }
.danger-action-row .dar-left h4 { font-size: 14px; font-weight: 600; color: #111; margin: 0 0 2px 0; }
.danger-action-row .dar-left p { font-size: 12px; color: #6b7280; margin: 0; }
