.participants-main-info, .participant-form {
    margin: 15px 0;
}

.participants-main-info, .participant-form > div {
    margin: 10px 0;
}

.participants-main-info h3, .participant-form h3 {
    border-bottom: 2px solid #c3c4c7;
    font-size: 24px;
    margin: 15px 0;
    padding: 5px;
    font-weight: bold;
}

.participants-main-info .search-box {
    display: grid;
    grid-template-columns: auto max-content;
}

.participants-main-info .search-box button {
    padding: 5px 25px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.participants-main-info .grid {
    display: grid;
    grid-template-columns: minmax(100px, 50%) minmax(100px, 400px);
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 780px) {
    .participants-main-info .grid {
        gap: 2rem;
    }
}

@media (max-width: 451px) {
    .participants-main-info .grid {
        gap: 2rem;
        grid-template-columns: unset;
        justify-content: unset;
    }
}

.participants-main-info #institution-suggestions {
    overflow-y: auto;
    max-height: 192px;
    display: block;
    position: relative;
}

.participants-main-info #institution-suggestions .suggestion-item {
    background: #f9f9f9;
    border: 2px solid #e8e8e8;
    font-weight: bold;
    padding: 4px 12px;
    font-size: 14px;
    cursor: pointer;
    margin: 1px 0;
}

.participants-main-info .group {
    margin: 15px 0;
}

.participants-main-info .group div:nth-child(1) {
    font-size: 14px;
    font-weight: bold;
    color: #7c7c7c;
    margin-bottom: 5px;
}

.participants-main-info .grid > div:first-of-type .group div:nth-child(2),
#institution-content .group div:nth-child(2) {
    background: #f9f9f9;
    border: 2px solid #e8e8e8;
    font-weight: bold;
    padding: 8px 12px;
    font-size: 18px;
    min-height: 44px !important;
}

.participants-main-info .grid > div:last-of-type {
    text-align: center;
    background: #f9f9f9;
    border: 2px solid #e8e8e8;
    padding: 25px 0;
}

.participants-main-info .grid > div:last-of-type h2 {
    margin: 0;
    font-weight: 900;
}

.participants-main-info label, .participant-form label {
    font-size: 14px;
    font-weight: bold;
    color: #7c7c7c;
    margin-bottom: 5px;
}

.participants-main-info input, .participants-main-info select,
.participant-form input, .participant-form select {
    background: #f9f9f9;
    border: 2px solid #e8e8e8;
    font-weight: bold;
    width: 100%;
    padding: 8px 12px;
    font-size: 18px;
    color: rgb(75, 79, 88);
}

.participants-main-info input:focus, .participant-form input:focus,
.participant-form select:focus {
    border-style: solid;
    border-color: #e8e8e8;
    border-width: 2px;
}

.participant-form input[type="checkbox"] {
    min-width: 50px !important;
    width: auto;
}

.participants-main-info p, .participant-form p {
    padding: 5px 12px;
    margin: 0;
    font-size: 16px;
}

.participants-main-info form {
    padding: 5px 12px;
    font-size: 16px;
}

.participants-buttons {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 15px;
    align-items: center;
}

.participants-buttons h3 {
    font-size: 18px;
    margin: 0;
}

.participants-buttons button {
    padding: 15px;
    font-size: 15px;
}

.participants-info-error {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1024px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 1px solid #d2d2d2;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    font-weight: bold;
    color: white;
}

.participants-info-error p, .participants-info p {
    margin: 0;
}

.participants-info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 1px solid #d2d2d2;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    padding: 30vh 20%;
}

.participants-info span {
    width: 90%;
    display: inline;
    max-width: 1224px;
    text-align: right;
}


body > div.participants-info > btn {
    padding: 15px 30px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    background-color: var(--ast-global-color-0);
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}


.participants-info .btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}

.participants-info2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: white;
    padding: 10px;
    border: 1px solid #d2d2d2;
    text-align: center;
    font-size: 24px;
    line-height: 50px;
    padding: 30% 0;
}

.participants-info2 .btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}



.reserve-yes {
    background-color: #d4edda; /* Zielone tło */
    color: #155724; /* Zielony tekst */
}

.reserve-no {
    background-color: #f8d7da; /* Czerwone tło */
    color: #721c24; /* Czerwony tekst */
}

input[readonly] {
    border: 1px solid #ccc;
    cursor: not-allowed;
}

input.reserve-yes {
    background-color: #d4edda !important; /* Zielone tło */
    color: #155724 !important; /* Zielony tekst */
    border: 1px solid #c3e6cb !important; /* Zielona ramka */
}