/* Pulsing animation for currently worn watches */
.worn-pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4caf50;
    animation: pulse-green 2s infinite;
    margin-right: 4px;
}

@keyframes pulse-green {
    0%   { opacity: 1;   transform: scale(1); }
    50%  { opacity: 0.5; transform: scale(1.3); }
    100% { opacity: 1;   transform: scale(1); }
}

/* Greyed style for sold watches */
.watch-sold {
    opacity: 0.55;
    filter: grayscale(70%);
}

/* Placeholder when no cover photo is available */
.watch-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mud-palette-background-grey, #f5f5f5);
    width: 100%;
    height: 160px;
    border-radius: 4px 4px 0 0;
}

/* Horizontal scroll row for rotation suggestions */
.suggestions-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.suggestions-row::-webkit-scrollbar {
    height: 6px;
}

.suggestions-row::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

/* ── MudBlazor v9 MudTabs: restore gap between tab bar and panel content ── */
.mud-tabs-panels {
    padding-top: 8px;
}

/* Blazor error UI */
#blazor-error-ui {
    background: #c62828;
    color: #fff;
    bottom: 0;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

#blazor-error-ui a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
