


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

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

.authors-list-header, .authors-list-row {
    display: grid;
    grid-template-columns: 30px 30px 60px 200px 200px 1fr 150px;
    gap: 10px;
    padding: 5px;
    align-items: center;
    justify-items: start;
}


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

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

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

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

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

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

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

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

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

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

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

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

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

/* Общ стил за лабораторната форма */
.authors-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);
}

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

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

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

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

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

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

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

/* Стил за бутоните */
.authors-submit-row input, .authors-reset-row input {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

/* Стил за бутона за запис */
.authors-submit-row input {
    background-color: #4CAF50;
    color: white;
}

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

/* Стил за бутона за изчистване */
.authors-reset-button {
    background-color: #007BFF; /* Син цвят */
    color: white;
}

.authors-reset-button:hover {
    background-color: #0056b3; /* По-тъмен син при hover */
}

.authors-list-row.role-2 {
    background-color: #fff9c4; /* светло жълто пастелно */
}
.authors-list-row.role-3 {
    background-color: #ffe0b2; /* светло оранжево пастелно */
}

