/* Модальное окно выбора пола */
.gender-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.gender-modal__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gender-modal__content {
    font-family: 'Merriweather', serif;
    background: #D7D4CD;
    padding: 30px 25px;
    border-radius: 5px;
    text-align: center;
    min-width: 320px;
    max-width: 400px;
}

.gender-modal__title {
    font-family: 'Kelly Slab', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gender-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.gender-option {
    margin: 0;
    padding: 16px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-family: 'Kelly Slab', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.55;
    width: 100%;
    box-sizing: border-box;
}

.gender-option:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.boy-option {
    background-color: #7999B9;
    box-shadow: -1px -1px 1px rgba(0,0,0,0.09);
}

.girl-option {
    background-color: #D38491;
    box-shadow: -1px -1px 1px rgba(0,0,0,0.09);
}

.queue-option {
    background-color: #474041;
    box-shadow: -1px -1px 1px rgba(0,0,0,0.09);
}

.gender-option__unavailable {
    color: #b04539;
    margin: 10px 0;
    font-family: 'Merriweather', serif;
    font-size: 14px;
    font-style: italic;
}

.gender-modal__cancel {
    margin-top: 15px;
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #999;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Kelly Slab', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    transition: all 0.3s ease;
}

.gender-modal__cancel:hover {
    background: rgba(0,0,0,0.05);
    border-color: #666;
    color: #333;
}