/* Стили для модального окна подтверждения перехода */

.leave-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.leave-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #00d4ff;
    border-radius: 16px;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.leave-modal-content h3 {
    color: #00d4ff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.leave-modal-content p {
    color: #e0e0e0;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.leave-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.leave-modal-buttons button {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.leave-modal-buttons .btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.leave-modal-buttons .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.leave-modal-buttons .btn-confirm {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    color: #000;
}

.leave-modal-buttons .btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}