/* Content Review Dots
   Base styles + interactivity for .uv amber markers.
   All dot visibility is controlled by this plugin — when deactivated,
   the empty <span class="uv"></span> elements render as nothing. */

.uv {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #F59E0B;
    border-radius: 50%;
    margin-left: 4px;
    vertical-align: super;
    flex-shrink: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.uv:hover {
    transform: scale(1.8);
}

/* Reviewed state */
.uv.uv-reviewed {
    background: #10B981 !important;
    opacity: 0.5;
}

.uv.uv-reviewed:hover {
    opacity: 0.8;
}

/* Floating counter wrap */
.uv-counter-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    text-align: right;
    user-select: none;
}

/* Counter badge */
.uv-review-counter {
    background: #1F2937;
    color: #F9FAFB;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.uv-review-counter.uv-all-done {
    background: #10B981;
}

/* Editing-as indicator */
.uv-editing-as {
    margin-top: 6px;
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s ease;
}

.uv-editing-as:hover {
    color: #6B7280;
}

.uv-editing-name {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #6B7280;
}

.uv-editing-as:hover .uv-editing-name {
    color: #374151;
}

/* Name prompt bar */
.uv-name-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1F2937;
    padding: 14px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.uv-name-bar.uv-name-bar-visible {
    transform: translateY(0);
}

.uv-name-label {
    color: #D1D5DB;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.uv-name-input {
    background: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    width: 200px;
    max-width: 40vw;
    outline: none;
    color: #1F2937;
    font-family: inherit;
}

.uv-name-input:focus {
    box-shadow: 0 0 0 2px #F59E0B;
}

.uv-name-submit {
    background: #F59E0B;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #1F2937;
    transition: background 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
    line-height: 1;
}

.uv-name-submit:hover {
    background: #D97706;
    transform: scale(1.1);
}

.uv-name-dismiss {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.uv-name-dismiss:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
