


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

.quartiles-list-header {
    font-weight: bold;
    background-color: #f0f0f0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Общ стил за лабораторната форма */
.quartiles-wrapper {
    width: 100%;
    max-width: 600px;
    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);
}

/* Стилизиране на самата форма */
.quartiles-form {
    display: flex;
    flex-direction: column;
}

/* Заглавие на формата */
.quartiles-header h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
}

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

/* Контейнер за полетата */
.quartiles-box {
    display: flex;
    flex-direction: column;
}

/* Разстояние между редовете в формата */
.quartiles-row {
    margin-bottom: 20px;
}

/* Стил за етикетите на полетата */
.quartiles-label {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left; /* Подравняване на етикетите вляво */
    display: inline-block; /* Задължително за да работи правилно с text-align */
    width: 100%; /* За да се подравни правилно с полето */
}

/* Стил за входните полета */
.quartiles-row input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

