


.rev-list-container {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    width: 100%;
    min-width: 800px;
    overflow-x: auto;
}

.rev-list-header {
    font-weight: bold;
    background-color: #f0f0f0;
    text-align: left;
}

.rev-list-header, .rev-list-row {
    display: grid;
    grid-template-columns: 40px 60px 1fr;
    gap: 10px;
    padding: 5px;
    align-items: center;
}

.rev-list-row > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rev-list-header > div,
.rev-list-row > div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rev-list-row.even {
    background-color: #ffffff;
}

.rev-list-row.odd {
    background-color: #e9ecef;
}

.rev-list-row > div {
    font-size: 12px;
}

.rev-list-row > div:first-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rev-list-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.rev-list-row.even {
    background-color: #ffffff;
}

.rev-list-row.odd {
    background-color: #e9ecef;
}

.rev-form-container {
    margin-bottom: 80px;
}

.rev-list-row > div {
    font-size: 12px;
}

.rev-list-row > div:nth-child(-n+3) {
    text-align: left;
}

.rev-actions {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
}

.rev-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    height: fit-content;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rev-form {
    display: flex;
    flex-direction: column;
}

.rev-header h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.rev-header p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.rev-box {
    display: flex;
    flex-direction: column;
}

.rev-row {
    margin-bottom: 20px;
}

.rev-label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left;
    display: inline-block;
    width: 100%;
}

.rev-row input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.rev-submit-row input, .rev-reset-row input {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}


.rev-submit-row input {
    background-color: #4CAF50;
    color: white;
    margin-top: 20px;
}

.rev-submit-row input:hover {
    background-color: #45a049;
}


.rev-reset-button {
    background-color: #007BFF;
    color: white;
}

.rev-reset-button:hover {
    background-color: #0056b3;
}

.rev-title {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5em;
    text-align: center;
}

.rev-abstract {
    font-size: 14px;
    color: #444;
    font-style: italic;
    margin: 1em 0;
    text-align: justify;
}

.rev-authors {
    font-size: 14px;
    color: #666;
    text-align: left;
}

.file-link {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
}

.file-link:hover {
    color: #03366a;
    text-decoration: underline;
}


.review-header {
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.review-total {
    grid-column: 1 / 4;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border-top: 2px solid #ccc;
    margin-top: 10px;
    padding-top: 8px;
}

.review-input {
    width: 100%;
    max-width: 700px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    height: 43px;
    box-sizing: border-box;
    font-family: inherit;
    color: #333;
    margin: 0;
    appearance: none;
}

.suma-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    height:100%;
}

.spacer{ flex:1 1 auto; }


.rev-cell1, .rev-cell2 {
    border: 2px solid #333;
    padding: 10px 15px;
    background: linear-gradient(135deg, #ff3b3b, #ff8c00);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    width: 120px;
    height: 120px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.rev-toolbar {
    display: grid;
    grid-template-columns: 300px 1fr 300px;
    gap: 5px;
    align-items: start;
    justify-items: start;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

.rev-toolbar > div:nth-child(3) {
    align-self: center;
    justify-self: center;
    display: flex;
    justify-content: flex-end;
}

.review-form2 {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 550px;
    gap: 0;
    align-items: start;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 50px;
    gap: 0;
    border: 1px solid #000;
    align-items: start;
}

.review-criterion {
    display: contents;
}

.rev-label2 {
    box-sizing: border-box;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 0.5rem;
    font: 14px/1.4 Arial, sans-serif;
    text-align: left;
    vertical-align: top;
}

.review-criterion > .rev-label2:last-child {
    border-right: none;
    text-align: center;
}

.review-form > .review-criterion:last-child > .rev-label2 {
    border-bottom: none;
}

.rev-text1 {
    font-weight: bold;
    background-color: #f0f4ff;
    font-size: 14px;
}

.rev-text2 {
    font-weight: normal;
    background-color: transparent;
    font-size: 12px;
}

.rev-text3 {
    font-weight: normal;
    background-color: transparent;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.review-criterion:hover .rev-label2 {
    background-color: #ffeaa7;
}

.review-criterion > .rev-label2 { min-height: 36px; }

.rev-label2 input[type="radio"]{
    margin: 0;
    vertical-align: middle;
}

.review-criterion > .rev-label2:last-child{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.review-criterion > .rev-label3{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rev-label2 small{
    font-size: 13px;
    line-height: 1.2;
}

* { box-sizing: border-box; }

.rev-label2 input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.rev-label2 input[type="radio"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.rev-label2 input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.rev-label3 input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    margin: 5px;
}

.rev-label3 input[type="radio"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.rev-label3 input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}







.rev-row-textarea {
    display: block;
    width: 100%;
}

.rev-row-textarea {
    display: block;
    width: 100%;
}

.rev-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    width: 100%;
}

.rev-charcount {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    margin-left: 10px;
}

.rev-select {
    width: 100%;
    box-sizing: border-box;
    border-radius: 4px;
}









/* 1) Контейнерът с трите колони в тулбара */
.rev-toolbar3{
    display:grid;
    grid-template-columns:300px 1fr 300px;
    gap:5px;
    align-items:stretch !important;
    justify-items:stretch !important;
    width:100%;
    margin-top:20px;
}

/* 2) Grid с колоните (3 клетки) */
.review-form3{
    display:grid !important;
    grid-template-columns:150px 250px 150px !important;
    gap:0;
    align-items:stretch !important;
    justify-items:stretch !important;
    width:100% !important;
    max-width:600px;
    margin:0 auto;
}

/* 3) Всяка колона да запълва своята grid-клетка докрай */
.rev-col{
    display:flex !important;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100% !important;
    height:100% !important;
    padding:6px;
    box-sizing:border-box;
    position:relative;
    z-index:0;
    cursor:pointer;
}

.rev-col .rev-label3{
    width:100% !important;
    background:transparent !important;
}

.rev-col:hover{
    background:#f0f0f0 !important;
}

.rev-col:has(input[type="radio"]:checked){
    background: #a3bed5 !important;
}

.rev-col:hover{
    background: #f4f1d6 !important;
}












