@font-face {
    font-family: 'HSESans-Regular';
    src: url('../fonts/HSESans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'HSESans-Regular';
}

.common-inv {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.common-inv a,
.common-inv label {
    width: 100%;
    display: block;
}

select {
    height: calc(2.25rem + 2px);
    padding: 0 0.5rem;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
}

.radio-inline {
    display: flex;
    gap: 15px;
    align-items: center;
}

.radio-inline label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.container {
    max-width: 870px;
    margin: auto;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.status {
    background: #4d19cc;
    color: white;
    padding: 5px 20px 5px 20px;
    letter-spacing: 0.6em;
}

.header-row {
    background: #2a1468;
    margin: 0;
}

.header {
    box-sizing: border-box;
    background: #2a1468;
}

.header h4 {
    font-size: 26px;
}

@media (max-width: 992px) {
    .header h4 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .header h4 {
        font-size: 18px;
    }

    .status {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .header h4 {
        font-size: 12px;
    }

    .status {
        font-size: 8px;
    }
}

.basic {
    border-radius: 0.25rem;
    border: 1px solid #a3a3a3;
    height: calc(1.5rem);
    width: 100%;
    text-align: left;
    padding: 0 0.5rem;
}

.login {
    border-radius: 0.25rem;
    border: 1px solid #a3a3a3;
    height: calc(1.5rem);
    width: 100%;
    text-align: left;
}

.form-check-label {
    cursor: pointer;
    border: 1px solid #a3a3a3;
    padding: 0.01rem 0.4rem;
    border-radius: 0.25rem;
    text-align: center;
}

.comments {
    border-radius: 0.25rem;
    border: 1px solid #a3a3a3;
    height: calc(5rem);
    width: 100%;
    resize: none;
}

.form-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.common-fio {
    width: 100%;
    max-width: 265px;
}

.common-profi {
    width: 100%;
    max-width: 300px;
}

.select-field {
    padding: 0 0.25rem;
}

.table tr {
    border-bottom: 1px solid #a3a3a3;
    vertical-align: middle;
}

.notification {
    border: 2px solid #ffcc00;
    border-radius: 5px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff8e1;
}

.success {
    border: 2px solid #28a745;
    border-radius: 5px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eaffea;
    font-size: 0.9rem;
}

.error {
    border: 2px solid #dc3545;
    border-radius: 5px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8d7da;
    font-size: 0.9rem;
}

.button-group {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 15px;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.info-notification {
    border: 2px solid #2196F3;
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e3f2fd;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
    text-align: center;
}

.info-notification:hover {
    background-color: #bbdefb;
}

.no-hover:hover {
    background-color: #e3f2fd;
}

.icon {
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .d-flex.flex-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .d-flex.flex-wrap .btn {
        width: 100%;
        max-width: 200px;
    }

    .d-flex.flex-wrap h2 {
        margin-top: 10px;
    }
}

.link-style {
    text-decoration: underline;
    color: blue;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-modal-width {
    max-width: 95vw; /* 95% от ширины экрана */
    width: 95vw; /* Фиксируем ширину */
}

/* Желтые уведомления и иконки */
.warning-block {
    display: none;
    height: 35px;
    align-items: center;
}

.warning-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.warning-text {
    font-size: 0.8rem;
    margin: 0;
}

#organization_warning {
    text-align: center;
}

/* Звездочки у обязательных полей */
.required-field {
    color: red;
}

/* Чекбоксы */
.form-check-input {
    border: 2px solid #000;
    background-color: #fff;
    margin-right: 7px;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    transform: scale(1.5);
    margin-left: 20px;
}

.data-regulation {
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

/* CulturalProgram block */
.cultural-program-block {
    padding: 9px;
    text-align: center;
    overflow: hidden;
    margin: 0 auto;
}
.cultural-program-table {
    border-collapse: collapse;
    margin-bottom: 10px;
    width: 100%;
    border: none;
}
.cultural-program-label {
    width: 36%;
    border: none;
    padding-bottom: 0 !important;
    text-align: right;
    white-space: pre-line;
}
.cultural-program-field {
    width: 28%;
    border: none;
    padding-bottom: 0 !important;
    min-width: 220px;
}
.cultural-program-status-cell {
    width: 36%;
    border: none;
    padding-bottom: 0;
    text-align: center;
}
.cultural-program-status-block {
    min-width: 120px;
    min-height: 30px;
}
.cultural-program-status-text {
    font-size: 0.85rem;
}
.cultural-program-info {
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    font-size: 0.85rem
}

@media (max-width: 600px) {
    .cultural-program-table,
    .cultural-program-table tbody,
    .cultural-program-table tr,
    .cultural-program-table td {
        display: block;
        width: 100% !important;
    }

    .cultural-program-table tr {
        border-bottom: 1px solid #a3a3a3;
        padding: 8px 0;
    }

    .cultural-program-label,
    .cultural-program-field,
    .cultural-program-status-cell {
        text-align: left;
        padding: 4px 0 !important;
    }

    .cultural-program-status-cell .d-flex {
        justify-content: flex-start;
    }
}

.pay-info {
    margin: 0;
    display: inline;
}

.date-range {
    text-align: center;
    padding: 0;
}

.notification-block {
    display: none;
    font-size: 0.85rem;
}

.col-6-5 {
    width: 55% !important;
}

.col-5-5 {
    width: 45% !important;
}