﻿.app-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 12px;
    flex-wrap: wrap;
}

.app-review-header-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-review-header-title {
    font-size: 17px;
    font-weight: 500;
    margin: 0;
}

.app-review-header-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

.app-review-round-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-review-round-accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.app-review-round-label {
    font-size: 13px;
    font-weight: 500;
}

.app-review-round-date {
    font-size: 12px;
    color: #6c757d;
}

.app-review-round-request-count {
    font-size: 12px;
    color: #6c757d;
}

.app-review-round-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-review-round-section-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin: 0 0 4px;
}

.app-review-round-submission-note {
    font-size: 13px;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 10px 12px;
    line-height: 1.5;
}

.app-review-round-submission-textarea {
    width: 100%;
    font-size: 13px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    resize: vertical;
    line-height: 1.5;
    color: #212529;
    background: #fff;
    box-sizing: border-box;
}

    .app-review-round-submission-textarea:focus {
        outline: none;
        border-color: #85b7eb;
    }

.app-review-round-doc-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.app-review-round-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0c447c;
    padding: 6px 12px;
    border: 1px solid #85b7eb;
    border-radius: 6px;
    text-decoration: none;
}

    .app-review-round-doc-link:hover {
        background: #e6f1fb;
    }

.app-review-round-requests-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-review-round-request-item {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 12px;
}

.app-review-round-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 99px;
    background: #e6f1fb;
    color: #0c447c;
    border: 1px solid #85b7eb;
    margin-bottom: 4px;
}

.app-review-round-request-body {
    font-size: 13px;
    line-height: 1.5;
    margin: 4px 0 0;
}

.app-review-round-reviewer-note {
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
    background: #f8f9fa;
    border-left: 2px solid #dee2e6;
}

.app-review-round-empty-requests {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

.app-review-round-empty-state {
    font-size: 13px;
    color: #6c757d;
    padding: 24px;
    text-align: center;
    border: 1px dashed #dee2e6;
    border-radius: 6px;
}

/* card replacement */
.app-review-round-card {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

.app-review-round-card-active {
    border-color: #85b7eb;
}

.app-review-round-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

    .app-review-round-card-header:hover {
        background: #f8f9fa;
    }

.app-review-round-card-header-active {
    background: #e6f1fb;
    cursor: default;
}

    .app-review-round-card-header-active:hover {
        background: #e6f1fb;
    }

.app-review-round-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.app-review-round-card-chevron {
    width: 16px;
    height: 16px;
    color: #6c757d;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.app-review-round-card-chevron-open {
    transform: rotate(90deg);
}

.app-review-round-card-body {
    border-top: 1px solid #dee2e6;
    display: none;
}

.app-review-round-card-body-open {
    display: block;
}

.app-review-round-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-review-round-card-actions {
    padding: 16px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-review-round-action-label {
    font-size: 12px;
    color: #6c757d;
    margin: 0;
}

.app-review-round-action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.app-review-round-terminal-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.app-review-round-terminal-message {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* button replacement */
.app-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #212529;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

    .app-review-btn:hover {
        background: #f8f9fa;
    }

    .app-review-btn:active {
        transform: scale(0.98);
    }

.app-review-btn-primary {
    background: #e6f1fb;
    color: #0c447c;
    border-color: #85b7eb;
}

    .app-review-btn-primary:hover {
        background: #b5d4f4;
    }

.app-review-btn-success {
    background: #eaf3de;
    color: #27500a;
    border-color: #97c459;
}

    .app-review-btn-success:hover {
        background: #c0dd97;
    }

.app-review-btn-danger {
    background: #fcebeb;
    color: #791f1f;
    border-color: #f09595;
}

    .app-review-btn-danger:hover {
        background: #f7c1c1;
    }

.app-review-status-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 99px;
    border: 1px solid;
    white-space: nowrap;
}

.app-review-status-active {
    background: #e6f1fb;
    color: #0c447c;
    border-color: #85b7eb;
}

.app-review-status-draft {
    background: #f1efe8;
    color: #444441;
    border-color: #b4b2a9;
}

.app-review-status-none {
    background: #f1efe8;
    color: #444441;
    border-color: #b4b2a9;
}

.app-review-status-unverified {
    background: #f1efe8;
    color: #444441;
    border-color: #b4b2a9;
}

.app-review-status-pending {
    background: #e6f1fb;
    color: #0c447c;
    border-color: #85b7eb;
}

.app-review-status-reviewdeclined {
    background: #faeeda;
    color: #633806;
    border-color: #ef9f27;
}

.app-review-status-reviewaccepted {
    background: #eaf3de;
    color: #27500a;
    border-color: #97c459;
}

.app-review-status-pendingresubmission {
    background: #faeeda;
    color: #633806;
    border-color: #ef9f27;
}

.app-review-status-informationrequestadded {
    background: #e6f1fb;
    color: #0c447c;
    border-color: #85b7eb;
}

.app-review-status-informationrequestwithdrawn {
    background: #f1efe8;
    color: #444441;
    border-color: #b4b2a9;
}

.app-review-status-changesrequested {
    background: #faeeda;
    color: #633806;
    border-color: #ef9f27;
}

.app-review-status-approved {
    background: #eaf3de;
    color: #27500a;
    border-color: #97c459;
}

.app-review-status-markedunverifiable {
    background: #faeeda;
    color: #633806;
    border-color: #ef9f27;
}

.app-review-status-unverifiable {
    background: #faeeda;
    color: #633806;
    border-color: #ef9f27;
}

.app-review-status-failedverification {
    background: #fcebeb;
    color: #791f1f;
    border-color: #f09595;
}

.app-review-status-verified {
    background: #eaf3de;
    color: #27500a;
    border-color: #97c459;
}

.app-review-status-expired {
    background: #f1efe8;
    color: #444441;
    border-color: #b4b2a9;
}
