﻿/* .stars span {
    font-size: 22px;
    cursor: pointer;
    color: #ccc;
    user-select: none;
  }
  .stars span.active {
    color: #f0ad4e;
  } */
/* Force Arial across the entire page */
body,
#reviewForm,
#reviewForm * {
    font-family: Arial, Helvetica, sans-serif !important;
}

.readonly-field {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.is-invalid {
    border-color: #dc3545;
}

.score-input {
    width: 80px;
    margin: 0 auto;
    text-align: center;
}

textarea {
    min-height: 80px;
}
/* Fix Power Pages tab-pane inheritance issue */
.review-tab {
    background-color: #ffffff !important;
    color: #000000 !important;
}

    .review-tab * {
        color: #000000 !important;
    }

/* Table-specific polish */
.review-table {
    table-layout: fixed;
    width: 100%;
}

    .review-table td {
        word-wrap: break-word;
    }

        /* Criteria – smaller */
        .review-table th:nth-child(1),
        .review-table td:nth-child(1) {
            width: 18%;
        }

        /* Instructions – wider */
        .review-table th:nth-child(2),
        .review-table td:nth-child(2) {
            width: 32%;
        }

        /* Score – small like input box */
        .review-table th:nth-child(3),
        .review-table td:nth-child(3) {
            width: 10%;
            text-align: center;
        }

        /* Comments – largest */
        .review-table th:nth-child(4),
        .review-table td:nth-child(4) {
            width: 40%;
        }

    .review-table thead th {
        background-color: #f0f2f5; /* light grey */
        color: #333;
        font-weight: 600;
        border-bottom: 2px solid #ddd;
    }

.summary-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    text-align: left; /* <-- left align all cards */
}

    .summary-card .value {
        font-size: 20px;
        font-weight: bold;
        margin-top: 5px;
    }

.instructions-cell {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

/* Textarea styling */
.instructions-textarea {
    width: 100%;
    min-height: 40px;
    resize: vertical;
    border: none;
    outline: none;
    background: transparent;
    padding: 6px;
    font-family: inherit;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden;
}

.comments {
    width: 100%;
    min-height: 80px;
    padding: 8px;
    box-sizing: border-box;
}

.ai-response-box {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
}

.ai-field {
    flex: 0 0 160px;
}

.ai-comment {
    flex: 1;
}

    .ai-comment textarea {
        min-height: 80px;
        resize: none;
    }

.view-ai-btn {
    font-size: 13px;
    color: #0d6efd;
    text-decoration: underline;
}

.action-buttons {
    margin-bottom: 20px; /* space below buttons */
}
