/* Contest Judging Dashboard Styles */

/* ========== Page Layout ========== */

.judge-page {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 56px);
    background: #0a0a0a;
}

.judge-loading,
.judge-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: #888;
}

.judge-error .material-icons-outlined {
    font-size: 48px;
    color: #666;
}

/* ========== Header ========== */

.judge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #111;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
}

.judge-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.judge-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
}

.judge-back-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #444;
}

.judge-title-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.judge-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.judge-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #888;
}

.judge-meta .material-icons-outlined {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

.judge-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.judge-status-badge.open {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.judge-status-badge.closed {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.judge-status-badge.completed {
    background: rgba(74, 158, 255, 0.15);
    color: #4a9eff;
}

.judge-status-badge.cancelled {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.judge-prize {
    display: flex;
    align-items: center;
    color: #2ecc71;
    font-weight: 500;
}

.judge-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.judge-help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
}

.judge-help-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #444;
}

/* ========== Body Layout ========== */

.judge-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ========== Sidebar ========== */

.judge-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    background: #111;
    border-right: 1px solid #222;
    flex-shrink: 0;
}

.judge-sidebar-header {
    padding: 12px;
    border-bottom: 1px solid #222;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.judge-filter-tabs {
    display: flex;
    gap: 4px;
}

.judge-filter-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #888;
    font-size: 13px;
    cursor: pointer;
}

.judge-filter-tab:hover {
    background: #1a1a1a;
    color: #fff;
}

.judge-filter-tab.active {
    background: #4a9eff;
    border-color: #4a9eff;
    color: #fff;
}

.judge-filter-tab .material-icons-outlined {
    font-size: 16px;
}

.judge-sort-select {
    width: 100%;
    padding: 8px 32px 8px 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.judge-sort-select:focus {
    outline: none;
    border-color: #4a9eff;
}

/* Participant List */

.judge-participant-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.judge-empty-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
    text-align: center;
}

.judge-empty-list .material-icons-outlined {
    font-size: 40px;
    margin-bottom: 8px;
}

.judge-participant-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 4px;
}

.judge-participant-item:hover {
    background: #1a1a1a;
}

.judge-participant-item.selected {
    background: rgba(74, 158, 255, 0.15);
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.judge-participant-item.shortlisted .judge-participant-name .star {
    color: #f1c40f;
}

.judge-participant-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.judge-participant-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.judge-participant-thumb .material-icons-outlined {
    font-size: 24px;
    color: #444;
}

.judge-participant-info {
    flex: 1;
    min-width: 0;
}

.judge-participant-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.judge-participant-name .star {
    font-size: 14px;
    color: #f1c40f;
}

.judge-participant-meta {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* Sidebar Footer */

.judge-sidebar-footer {
    padding: 12px;
    border-top: 1px solid #222;
}

.judge-compare-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
}

.judge-compare-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

.judge-compare-btn.active {
    background: rgba(74, 158, 255, 0.15);
    border-color: #4a9eff;
    color: #4a9eff;
}

/* ========== Main Viewer ========== */

.judge-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0a0a0a;
}

.judge-empty-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

.judge-empty-viewer .material-icons-outlined {
    font-size: 48px;
    margin-bottom: 12px;
}

/* Viewer Container */

.judge-viewer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.judge-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
}

.judge-viewer-artist {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.judge-viewer-username {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.judge-viewer-date {
    font-size: 12px;
    color: #666;
}

.judge-viewer-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.judge-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
}

.judge-action-btn:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #444;
}

.judge-action-btn.active {
    background: rgba(241, 196, 15, 0.15);
    border-color: #f1c40f;
    color: #f1c40f;
}

.judge-select-winner-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #2ecc71;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.judge-select-winner-btn:hover {
    background: #27ae60;
}

.judge-select-winner-btn .material-icons-outlined {
    font-size: 18px;
}

/* Display Area */

.judge-viewer-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    background: #0a0a0a;
}

.judge-viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.judge-viewer-image:fullscreen {
    cursor: zoom-out;
}

.judge-viewer-video {
    max-width: 100%;
    max-height: 100%;
}

.judge-no-files,
.judge-unknown-file {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #666;
}

.judge-no-files .material-icons-outlined,
.judge-unknown-file .material-icons-outlined {
    font-size: 48px;
}

/* File Info Bar */

.judge-viewer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 20px;
    background: #111;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #888;
}

.judge-file-name {
    color: #fff;
    font-weight: 500;
}

.judge-file-index {
    color: #4a9eff;
}

/* Navigation Strip */

.judge-viewer-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #111;
    border-top: 1px solid #222;
    flex-shrink: 0;
}

.judge-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    flex-shrink: 0;
}

.judge-nav-btn:hover:not(:disabled) {
    background: #1a1a1a;
    color: #fff;
}

.judge-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.judge-file-strip {
    flex: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.judge-file-thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    background: #1a1a1a;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.judge-file-thumb:hover {
    border-color: #444;
}

.judge-file-thumb.selected {
    border-color: #4a9eff;
}

.judge-file-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.judge-file-thumb .material-icons-outlined {
    font-size: 24px;
    color: #444;
}

/* ========== Compare Mode ========== */

.judge-compare-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.judge-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #111;
    border-bottom: 1px solid #222;
}

.judge-compare-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.judge-compare-exit {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #888;
    font-size: 13px;
    cursor: pointer;
}

.judge-compare-exit:hover {
    background: #1a1a1a;
    color: #fff;
}

.judge-compare-panels {
    flex: 1;
    display: flex;
    gap: 2px;
    background: #222;
    overflow: hidden;
}

.judge-compare-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
}

.judge-compare-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
}

.judge-compare-empty .material-icons-outlined {
    font-size: 48px;
    margin-bottom: 12px;
}

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

.judge-compare-artist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #111;
    border-bottom: 1px solid #222;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.judge-compare-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
}

.judge-compare-remove:hover {
    background: #1a1a1a;
    color: #fff;
}

.judge-compare-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.judge-compare-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.judge-compare-image .material-icons-outlined {
    font-size: 48px;
    color: #333;
}

/* ========== Shortcuts Modal ========== */

.judge-shortcuts-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.judge-shortcuts-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
}

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

.judge-shortcuts-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.judge-shortcuts-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
}

.judge-shortcuts-close:hover {
    color: #fff;
}

.judge-shortcuts-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #888;
}

.shortcut-item kbd {
    display: inline-block;
    padding: 4px 8px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: #fff;
    min-width: 24px;
    text-align: center;
}

/* ========== Winner Confirmation Modal Styles ========== */

.winner-confirm-content {
    text-align: center;
    padding: 10px 0;
}

.winner-confirm-icon {
    margin-bottom: 16px;
}

.winner-confirm-icon .material-icons-outlined {
    font-size: 48px;
    color: #f1c40f;
}

.winner-confirm-content p {
    margin: 8px 0;
}

.winner-payout {
    color: #2ecc71;
    font-size: 16px;
}

.winner-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 8px;
    text-align: left;
    font-size: 13px;
    color: #f1c40f;
}

.winner-warning .material-icons-outlined {
    font-size: 20px;
    flex-shrink: 0;
}

/* ========== Mobile Dropdown (hidden on desktop) ========== */

.judge-mobile-selector {
    display: none;
    position: relative;
    padding: 12px;
    background: #111;
    border-bottom: 1px solid #222;
}

.judge-mobile-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
}

.judge-mobile-dropdown:hover {
    border-color: #444;
}

.judge-mobile-selected {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.judge-mobile-placeholder {
    color: #666;
    font-size: 14px;
}

.judge-mobile-arrow {
    color: #888;
    flex-shrink: 0;
}

.judge-mobile-dropdown-list {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.judge-mobile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
}

.judge-mobile-item:hover {
    background: #222;
}

.judge-mobile-item.selected {
    background: rgba(74, 158, 255, 0.15);
}

.judge-mobile-item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #222;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.judge-mobile-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.judge-mobile-item-thumb .material-icons-outlined {
    font-size: 20px;
    color: #444;
}

.judge-mobile-item-info {
    flex: 1;
    min-width: 0;
}

.judge-mobile-item-name {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.judge-mobile-item-name .star {
    font-size: 14px;
    color: #f1c40f;
}

.judge-mobile-item-meta {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.judge-mobile-check {
    color: #4a9eff;
    font-size: 20px;
    flex-shrink: 0;
}

.judge-mobile-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
    .judge-mobile-selector {
        display: block;
    }

    .judge-sidebar {
        display: none;
    }

    .judge-body {
        flex-direction: column;
    }

    .judge-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .judge-compare-panels {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .judge-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .judge-header-right {
        width: 100%;
        justify-content: flex-end;
    }

    .judge-viewer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .judge-viewer-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ========== Placement Progress Header ========== */

.placement-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(74, 158, 255, 0.1) 0%, transparent 100%);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.placement-progress-header .progress-label {
    font-size: 14px;
    color: #888;
}

.placement-progress-header .current-selection {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.placement-progress-header .current-selection .medal {
    font-size: 22px;
}

.placement-progress-slots {
    display: flex;
    gap: 12px;
}

.placement-progress-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    background: #1f1f1f;
    border: 1px solid #333;
}

.placement-progress-slot .medal {
    font-size: 18px;
}

.placement-progress-slot .slot-name {
    color: #666;
}

.placement-progress-slot.filled {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.placement-progress-slot.filled .slot-name {
    color: #22c55e;
}

.placement-progress-slot.current {
    background: rgba(74, 158, 255, 0.15);
    border-color: #4a9eff;
}

.placement-progress-slot.current .slot-name {
    color: #4a9eff;
}

.placement-progress-slot.pending .slot-name {
    color: #555;
}

/* ========== Select Button with Medal ========== */

.select-winner-btn .medal {
    font-size: 16px;
    margin-right: 2px;
}

.entry-card.already-placed {
    opacity: 0.5;
    pointer-events: none;
}

.entry-card .placed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 5;
}

.entry-card .placed-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.entry-card .placed-badge .medal {
    font-size: 24px;
}

.entry-card .placed-badge.place-1 {
    color: #ffd700;
}

.entry-card .placed-badge.place-2 {
    color: #c0c0c0;
}

.entry-card .placed-badge.place-3 {
    color: #cd7f32;
}

/* ========== Confirmation Modal Placement Display ========== */

.confirm-placement-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
}

.confirm-placement-info .medal {
    font-size: 28px;
}

.confirm-placement-info .info-text {
    flex: 1;
}

.confirm-placement-info .place-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.confirm-placement-info .prize-amount {
    font-size: 14px;
    color: #22c55e;
    font-weight: 600;
}

/* ========== Finalize Button in Progress Area ========== */

.placement-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    margin-top: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.placement-summary .summary-text {
    color: #22c55e;
    font-weight: 600;
    font-size: 14px;
}

/* ========== Placement Progress Widget ========== */

.placement-progress-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
}

.placement-progress-widget .placement-progress-slots {
    display: flex;
    gap: 8px;
}

.placement-progress-widget .placement-progress-slot {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.placement-progress-widget .placement-progress-slot .medal {
    font-size: 16px;
}

.placement-progress-widget .placement-progress-slot .slot-name {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.placement-progress-widget .slot-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    color: #fff;
}

.placement-progress-widget .slot-remove-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.placement-progress-widget .slot-remove-btn .material-icons-outlined {
    font-size: 14px;
}

.placement-progress-widget .placement-progress-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.placement-progress-widget .prize-info {
    color: #888;
    font-size: 12px;
    white-space: nowrap;
}

.finalize-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #22c55e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.finalize-btn .material-icons-outlined {
    font-size: 16px;
}

.finalize-btn:hover {
    background: #16a34a;
}

/* ========== Participant Placement Badge ========== */

.judge-participant-item.placed {
    border-left: 2px solid #fbbf24;
}

.judge-participant-thumb {
    position: relative;
}

.judge-participant-thumb .placement-medal {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
