/* Попап «Заявка на сотрудничество» — Figma node 121-2389 */

.bj-coop-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.bj-coop-popup[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.bj-coop-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(32, 0, 10, 0.4);
    cursor: pointer;
}

.bj-coop-popup__container {
    position: relative;
    width: 100%;
    max-width: 60%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
}

.bj-coop-popup__inner {
    position: relative;
    background: #f9f8f3;
    border-radius: 14px;
    padding: 48px 40px 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.bj-coop-popup__close svg path{
    color: #000000;
}
.bj-coop-popup__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    color: #20000a;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.bj-coop-popup__close:hover {
    background: rgba(32, 0, 10, 0.08);
}

.bj-coop-form {
    font-family: var(--font-main, 'Montserrat', sans-serif);
}

/* Тёмная тема */
.bj-coop-popup__inner {
    background: rgba(230, 224, 215, 1);
}

.bj-coop-popup__close {
    color: #e2ddd7;
}

.bj-coop-popup__close:hover {
    background: rgba(226, 221, 215, 0.1);
}
