/* Стили для модального окна регистрации */
.register-access-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.register-access-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.register-access-modal-content {
    background: #e6ffe6;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 320px;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(.4, 1.3, .5, 1);
}

.register-access-modal.show .register-access-modal-content {
    opacity: 1;
    transform: scale(1);
}

.register-access-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#accessCode {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #b3ffb3;
}

#accessCodeForm button[type="submit"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background: #007f00;
    color: white;
    border: none;
}

#errorMsg {
    color: #b71c1c;
    margin-top: 10px;
    display: none;
}