/* ============================================================
   Order Comments — oc-* classes
   ============================================================ */

.oc-section {
    /* inherits co-section padding/border */
}

.oc-count {
    font-size: 12px;
    color: var(--text-secondary, #6b7280);
    font-weight: 400;
    margin-left: 4px;
}

/* Comment list */
.oc-empty {
    font-size: 13px;
    color: var(--text-secondary, #6b7280);
    padding: 8px 0;
    font-style: italic;
}

.oc-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.oc-comment {
    background: var(--surface-hover, #f9fafb);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 10px 12px;
    transition: background 0.2s;
}

.oc-comment-new {
    animation: ocFadeIn 0.25s ease;
}

@keyframes ocFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.oc-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 8px;
}

.oc-author {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary, #111827);
}

.oc-author i {
    margin-right: 4px;
    color: #2d7dd2;
}

.oc-time {
    font-size: 11px;
    color: var(--text-secondary, #6b7280);
    white-space: nowrap;
}

.oc-body {
    font-size: 13px;
    color: var(--text-primary, #111827);
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Compose area */
.oc-compose {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oc-textarea {
    width: 100%;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
    resize: vertical;
    background: var(--surface-color, #fff);
    color: var(--text-primary, #111827);
    font-family: inherit;
    line-height: 1.5;
    min-height: 64px;
}

.oc-textarea:focus {
    outline: none;
    border-color: #2d7dd2;
    box-shadow: 0 0 0 3px rgba(45,125,210,0.12);
}

.oc-post-btn {
    align-self: flex-end;
}
