/* the dialog element itself is a full-viewport, transparent flex container
   (see the base `dialog` rules in global.css); the visible card is #reportInner */
#report {
    align-items: center;
    justify-content: center;
}

#reportInner {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    margin: 20px;
    max-height: 90vh;
    max-width: 420px;
    overflow-y: auto;
    padding: 24px;
    width: 100%;
}

#reportTitle {
    margin: 0;
    font-size: 20px;
}

#reportSubtitle {
    margin: 6px 0 16px;
    font-size: 14px;
    color: #8C8D8B;
}

#reportOptions {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reportOptionsItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.reportOptionsItem:hover {
    background: #F5F5F4;
}

.reportOptionsItemInput {
    margin: 0;
    accent-color: var(--primary);
}

.reportOptionsItemLabel {
    font-size: 15px;
}

#reportDetails {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #EBEBEA;
    border-radius: 8px;
    font: inherit;
    resize: vertical;
    min-height: 64px;
    box-sizing: border-box;
}

#reportError {
    margin: 10px 0 0;
    min-height: 18px;
    font-size: 13px;
    color: #C0392B;
}

#reportActions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

#reportActionsCancel {
    background: none;
    color: var(--primary);
    border: 1px solid #EBEBEA;
}

/* subtle report trigger dropped onto deal cards, match rows, etc. */
.reportTrigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #B7B8B6;
    cursor: pointer;
}

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

.reportTriggerIcon {
    width: 15px;
    height: 15px;
}

/* corner placement when the trigger sits on a deal card */
.winesIndexGridItem {
    position: relative;
}

.winesIndexGridItem .reportTrigger {
    position: absolute;
    top: 10px;
    right: 10px;
}
